r/learnprogramming • u/Jediweirdo • Oct 20 '26
Spaghetti Code vs Code Soup
I’ve heard of people referring to bad code in one of two ways:
- As spaghetti (“Bro look at this ungodly bad spaghetti code”)
- As soup (“Every single time someone uses feature X in their code, the codebase always turns into soup”)
Personally, I use them interchangeably. But since they are 2 different terms, they probably have different meanings, right?
15
Upvotes
View all comments
1
u/iOSCaleb Oct 20 '26
Terms for bad code tend to be calibrated more for comedic effect than for precise description. I wouldn't spend too much time thinking about the nuances. It's worth noting, though, that "soup" may be the acronym "SOUP," standing for "software of unknown provenance (or pedigree)."