Re:Small functions considered harmful
by zmmmmm on Friday August 11, 2017 @08:06PM
(#14995468)
I don't think it's really a contest between 100 line functions and single line functions. It's more about 5 - 20 line functions and 1 - 2 line functions. I could come up with lots of examples where being able to see the entire scope of 10 lines of logic is clearer than breaking the same thing into 5 functions.
[ Parent
| on HN ]
There are no comments on this comment yet.