News for hackers. Stuff that matters.
Re:Function Length by k__ on Friday December 02, 2016 @05:48AM (#13087610)
Once I thought a function should fit on a screen. I did small functions and tried to use the function names as comment replacement.

But after coming back to old code for years now, I think one big function that can simply read from top to bottom without any jumps is the way to go.

Re:Function Length by spronkey on Sunday December 04, 2016 @12:19AM (#13098893)
Hmm. When API naming is good, you shouldn't need to be reading at the low level much, so IMO whatever makes it easy to skim for maintenance is the way to go.