Re:In the Defense of Spaghetti Code (2013)
by CuriouslyC on Monday July 22, 2019 @09:21AM
(#20497705)
How is an inline function different from a demarcated and commented subsection? It seems to me that the semantic and enforced correctness benefits of functions would make using them in this way a no brainer.
[ Parent
| on HN ]
This exactly when you break up a logically flat function into subfunctions, the names of those functions are simply replacing comments.