News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code (2014) by Nursie on Tuesday January 22, 2019 @06:17AM (#18967498)
The counterpoint to this is that if you find a bug, it has to be fixed in multiple different places, and you have to remember where those are, and that they exist.

I write java (or try to) in such a way that the major function calls logical, sensible smaller steps, and in such a way that it is readable. If there are, generally speaking, three things a method needs to do before it returns, I don't do two of them in separate methods and then dive into the minutiae of the third right there.

So I'm afraid I don't really see it. Modularisation and encapsulation can help comprehension.

There are no comments on this comment yet.