Spaghetti-code meaning

Program code written without a coherent structure. The logic moves from routine to routine without returning to a base point, making it hard to follow. It implies excessive use of the GOTO instruction, which directs the computer to branch to another part of the program without a guarantee of returning.Although there are always ways around it, structured programming attempts to eliminate spaghetti code by using functions that, after being called and executed, return the computer to the instruction following the one that called it. See lasagna code, ravioli code and spaghetti development.
0
0
(computing) Unstructured or poorly structured program source code; especially code with many GOTO statements (their equivalent).
noun
0
0
Advertisement