Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
1,740,024,875 visitors served.
forum mailing list For webmasters
?
New: Language forums
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

spaghetti code

   Also found in: Wikipedia 0.06 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.

In structured programming, functions are used, which are subroutines that guarantee a return to the instruction following the one that called it.

Spaghetti Code
There are tons of spaghetti code lurking in the millions of applications that have been written over the years. Spaghetti code is often the result of being in a rush to fix something or change something.


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.


How to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in periodicals archive
 
For the game developer, your AI development nightmares are over," Prieditis continued, "no more patching broken rules, no more spaghetti code, and no more late delivery of a buggy product with poor performance.
XACML finally enables organizations to move access control policy out of custom spaghetti code and into an interoperable, declarative XML form," said Eugene Kuznetsov, CTO, founder and chairman of DataPower.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2009 Farlex, Inc.
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. Terms of Use.