News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code (2014) by imron on Tuesday July 19, 2016 @09:20AM (#12121542)
> Nothing is easier to read and understand than code which just flows straight through from top to bottom of a big function

It really depends on how long the function is. Ignoring stuff like variable declarations and verifying constraints at the beginning of a function, I personally find anything longer than a screen or two is usually better off (in terms of readability) being in its own function.

There are no comments on this comment yet.