News for hackers. Stuff that matters.
Re:In the Defense of Spaghetti Code (2013) by nickpsecurity on Monday July 22, 2019 @09:03AM (#20497579)
If the requirements are complex, then you list the requirements, what you're doing with each one, how they connect, and the code reflects that. Breaking it into functions and modules for that often does enough. At the least, the design documentation will facilitate understanding even if the code itself is harder to understand.

Spaghetti code is almost always just bad design and coding.

There are no comments on this comment yet.