News for hackers. Stuff that matters.
Re:Small functions considered harmful by whack on Friday August 11, 2017 @10:42AM (#14990102)
I think even most people who believe in short functions, would disagree with your boss. The following SO thread does a pretty good job summarizing the short-functions principle.

https://softwareengineering.stackexchange.com/questions/1334...

The whole point of a guideline is that it's not a rule. It's a heuristic that people can selectively apply, based on the specific context and their level of experience.

Re:Small functions considered harmful by marcosdumay on Friday August 11, 2017 @12:38PM (#14991618)
I haven't yet seen anybody pushing for "short functions" literally that didn't want a hardline on the largest function you should create. Thus, I haven't seen anybody explicitly using it as an heuristic instead of a rule.

People have all kind of heuristics that correlate with short functions, like DRY and single responsibility principle. People do apply those as heuristics. But function length is a number, and it is very hard to keep your conclusions fuzzy when operating over numbers.