News for hackers. Stuff that matters.
Re:In the Defense of Spaghetti Code (2013) by contravariant on Monday July 22, 2019 @09:30AM (#20497788)
If using something that ought to be an enum as an integer to save a few lines of code isn't spaghettification then I don't know what is. Rather predictably it doesn't generalise.

It's called spaghetti because it's hard to see what information flows where, not just because some information flows are long (at least, my mental image for spaghetti-code has always been cooked spaghetti).

There are no comments on this comment yet.