What’s the difference between spaghetti code, lasagna code, ravioli code, and pizza code?

278 views

I’m starting to get into coding and these concepts make little sense to me.

In: 0

5 Answers

Anonymous 0 Comments

Those are just insider jokes, they aren’t important in your coding progress. Although they are fun!

– spaghetti code: just messy code, hacks building upon other hacks, whatever it takes to achieve the purpose. Usually unreadable a week after.
– lasagna code: this is referring to the concept of layers of abstraction. Which is usually a good thing, but when we’re talking about lasagna code – it’s usually abstraction done to the absurd degree.
– ravioli code: making your codebase consist of many self-contained pieces, independent from each other. Which is also usually a good thing, but just like with lasagna – it can get absurd.
– pizza code: don’t know this one.

You are viewing 1 out of 5 answers, click here to view all answers.