Spaghetti_code Spaghetti_code

Spaghetti code - Definition and Overview

A plate of spaghetti looks twisted and tangled, which is where the name for spaghetti code comes from.

Spaghetti code is a pejorative term for a computer program code with a complex and tangled control structure, especially one using many GOTOs, exceptions, threads, or other "unstructured" branching constructs.

It is named such because program flow tends to look like a bowl of spaghetti, i.e. twisted and tangled. Also called kangaroo code because such code has so many jumps in it.

Spaghetti code is an example of an anti-pattern.

See also

References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.

External links


Example Usage of Spaghetti

sergiocarlo: @ivanagav yes baby... Let's Spaghetti.
ijflip: @mikeyloops damn hook that up yo! but i got some Spaghetti here as well lol
likeduh_itsdee: correction: who's down to come over & help me make my special spicy Spaghetti :o TOMORROW lol
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.