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

280 views

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

In: 0

5 Answers

Anonymous 0 Comments

As people said, spaghetti code is the main term there, and the rest are jokes about the term spaghetti code.

Spaghetti code makes more sense historically, in terms of assembly and languages that rely on the “go to” instruction. Modern languages don’t use go to, and have loops and stuff instead.

If you imagine messy code written that way, and drawing lines to show the paths in can take, “spaghetti” is a much more apt descriptor.

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