Re:Modern Software Over-Engineering Mistakes
by sidlls on Sunday October 16, 2016 @03:55PM
(#12720608)
Well, when those small functions are a series of other functions it can hinder "reasonability" just as easily as help it.
There's no one right way to do it, really. My objection is mainly toward a zealous adherence to some subjective principle here.
Re:Modern Software Over-Engineering Mistakes
by jghn on Sunday October 16, 2016 @04:49PM
(#12720856)
Honestly it's one of those YMMV things, as you say there is no right answer. That's why I said "for me" :) People are different and drill into information differently as well.
Most of the arguments I've had over the years on this subject were cases where we were both right. To them X was more reasonable and to me Y was, and the two were mutually exclusive.
As I write this it makes me wonder if this whole topic is a fool's errand, are we doomed to forever be trying To solve an unsolvable problem?
FWIW I don't prefer small functions for reusability but for reasonability. It's a lot easier for me to discern what that block of 10-15 lines of code is doing if it has a descriptive name and a type signature.