> When they say "small functions", they mean "not the 5000 loc VBA macro that has 50 Boolean arguments, and 30 side effects".
Clearly, though, not all of them do. From the article, for context.
> The first rule of functions is that they should be small. The second rule of functions is that they should be smaller than that.
> In my Ruby code, half of my methods are just one or two lines long.
> Any function more than half-a-dozen lines of code starts to smell to me, and it’s not unusual for me to have functions that are a single line of code
> I’ve worked on codebases inherited from folks who’d internalized this idea to such an unholy extent that the end result was pretty hellish and entirely antithetical to all the good intentions the road to it was paved with.
It seems to me there are a lot of people who espouse making your functions extremely short, and for who a 30 line function counts as long.