system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What is spaghetti code ?
gpt
"Reading a book" is good code.  There's an obvious start, an obvious finish, and a clear path between them.

Spaghetti code is also reading a book, except:

* Each of the main characters was introduced in a different book, each by a different author.  Nothing says which book each character was introduced in.
* When you open the book, the first chapter is Chapter 4.  Chapter 1 is actually partway through the book, and then Chapter 2 is in a magazine on the bookshelf, then Chapter 3 is near the end of the book.
* The plot is never explained; the author simply assumes that you know what the plot is.

It would be technically possible to read the spaghetti code book, sure!  The problem is *making sense* out of it.