
Spaghetti code
Software source code with poor structure

Software source code with poor structure
Spaghetti code is computer source code with convoluted control flow, with statements directing program execution without structure, instead resembling cooked spaghetti, twisted and tangled. The code tends to be hard to understand or maintain. Since control flow logic encoded via the goto statement tends to lead to convoluted control flow, use of goto is often associated with a classification as spaghetti code. The practice of structured programming was envisioned to eliminate the need for and use of the goto statement as one way to avoid the production of spaghetti code. Ensuring the creation of high-quality software, instead of spaghetti code, often involves aspects such as using better tools, training developers and improving software development processes. Spaghetti code can also describe an anti-pattern in which object-oriented code is written in a procedural style, such as by creating classes whose methods are overly long and messy, or forsaking object-oriented concepts like polymorphism...
Read on Wikipedia · Image Judgefloro, CC0
Open boosters, collect cards and trade them. Free to play.
Play for free