Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,920,535,222 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

spaghetti code
(redirected from Spaghetti programming)

   Also found in: Wikipedia 0.01 sec.
spaghetti code
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.

Spaghetti Code
There are tons of spaghetti code lurking in the millions of applications written over the years. Spaghetti code is often the result of being in a rush to make a change in the program or fix a problem.

spaghetti code [spə′ged·ē ‚kōd]
(computer science)
Computer program code that lacks a coherent structure, and in which the sequence of program execution frequently jumps to a distant instruction in the program listing, making the program very difficult to follow.

(programming)spaghetti code - 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.


Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?   Encyclopedia browser?   Full browser?
No references found
 
 
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.