Definition
Spaghetti code is computer source code that encodes control flow that is convoluted, and therefore, hard to understand. Control statements direct program execution in ways that instead of having a quality of structure, resembles cooked spaghetti, twisted and tangled. The code tends to be hard to maintain.
Related concepts
Ada (programming language)Anti-patternArchitectural layerBASICClass (programming)Code smellComputerComputer programControl flowDavid GriesEdsger DijkstraExecution (computing)FORTRANGotoInternational Obfuscated C Code ContestLasagnaLoop (computing)National Institute of Standards and TechnologyObject-oriented programmingPastaPolymorphism (computer science)RavioliRichard HammingRichard W. ConwaySQALESoftwareSoftware brittlenessSoftware development processSoftware entropySoftware maintenanceSoftware systemSoftware toolSorting algorithmSource codeSpaghettiStructured programmingTechnical debtThe Elements of Programming StyleTrainingTurnover (employment)Waterfall model