A pejorative term for code with a complex and tangled control structure, especially one using many GOTOs, exceptions, or other “unstructured” branching constructs. The synonym “kangaroo code” has been reported, doubtless because such code has so many jumps in it.
- Spaghetti inheritance
[encountered among users of object-oriented languages that use inheritance, such as Smalltalk] A convoluted class-subclass graph, often resulting from carelessly deriving subclasses from other classes just for the sake of reusing their code. Coined in a (successful) attempt to discourage such practice, through guilt-by-association with spaghetti code. [Jargon File]
- Spaghetti junction
noun 1. an interchange, usually between motorways, in which there are a large number of underpasses and overpasses and intersecting roads used by a large volume of high-speed traffic noun a complex and multi-level junction of roads Word Origin as spaghetti strands would look
noun 1. pasta in the form of long thin strings
noun 1. a variety of a widely cultivated squash, Cucurbita pepo, having edible flesh in the form of spaghettilike strands.