News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code (2014) by purplerabbit on Tuesday July 19, 2016 @12:41PM (#12122783)
You can definitely break up a function's contents into logical nested functions... Why are you saying "random points"?

Nested functions can actually allow you to even out your abstraction levels... Just group lower-level operations in more deeply nested functions. It's sort of the functional equivalent of extracting a group of similarly-leveled concepts into a new object in the OO approach.

Not sure if you were talking about C++, where my point probably doesn't apply... (Lack of nested function support, AFAIK)

There are no comments on this comment yet.