News for hackers. Stuff that matters.
Re:Fundamentals of Optimal Code Style by coldtea on Thursday March 25, 2021 @07:21PM (#26586905)
It can be the exact opposite too (which is why a shorter as opposed to longer function is a tradeoff that should be questioned each time, as opposed as a clear winner).

A 250-line function might better encapsulate the required logic to understand a piece of code.

1 function composed of 10 20-line functions might requiring hunting around to get the point and understand the big picture, with everything always happening "somewhere else".

Re:Fundamentals of Optimal Code Style by datavirtue on Friday March 26, 2021 @02:23PM (#26595231)
Nope. All the methods should clearly name the functionality. No guess work. It reads like prose.