What is Spaghetti Code?

Spaghetti Code refers to code written by programmers which is complex and tangled by unnecessary control structure. Source code may be using many GOTO, and other branching constructs. In large system with bunch of Spaghetti code, you change something and something happen at the other end. It is considered derogatory term.


Image: deviantart.net