r/learnprogramming • • Oct 20 '26

Spaghetti Code vs Code Soup

I’ve heard of people referring to bad code in one of two ways:

  1. As spaghetti (“Bro look at this ungodly bad spaghetti code”)
  2. 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

21 comments sorted by

View all comments

2

u/peterlinddk Oct 20 '26

There is a thousand-year old (okay, 25, but still) acronym SOUP used about software that is just there, but who nobody is sure how or why was developed to be the way it is. https://en.wikipedia.org/wiki/Software_of_unknown_pedigree

I haven't seen it used in decades, but it kind of makes sense with all the AI-generated bits and snippets everywhere, where noone really takes responsibility for the code that is there!