Overuse or inappropriate use of advanced control flow makes code hard to read. @goto
or its equivalents in other languages, when used improperly, leads to unreadable spaghetti code.
Similar to languages like C, one cannot jump between functions in Julia. This also means that @goto
is not possible at the top-level; it will only work within a function. Furthermore, one cannot jump from an inner function to its outer function, or from an outer function to an inner function.