Re:Functions Should Be Short And Sweet, But Why?
by henrik_w on Wednesday January 22, 2014 @05:12AM
(#7101784)
Steve McConnell makes some good points about this in Code Complete too, one of which is "small methods tend to become bigger". Even if it started out as a one-line method, it is not unusual to later find the need to add something else to it. This is from memory (I don't have the book here), so I can't give a more specific reference to it.
[ Parent
| on HN ]
There are no comments on this comment yet.