this post was submitted on 20 May 2025
199 points (94.2% liked)
Programmer Humor
23417 readers
1358 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
After reading a lot of comments in this thread, I'm not sure I know what spaghetti code is. I thought spaghetti code was when the order of execution was obfuscated due to excessive jumps and GOTOs. But a lot of people are citing languages without those as examples of spaghetti code. Is this just a classic "I don't like this programming language, and I don't know much about it." Or is there something I'm missing?
Spaghetti is all messy and tangled up; spaghetti code is the same.
That's one way to make your code messy and thus achieve spaghetti code.
In general, when some code is very poorly written, it becomes spaghetti code.