3 ms·
> I think the empirical experiments show enough evidence about short functions not being more readable than long functions, that we can't take that as granted.
by jghn 6y ago
> I think the empirical experiments show enough evidence about short functions not being more readable than long functions, that we can't take that as granted.
Pure anecdata on my part, my observation over the years is that developers tend to cluster on this cluster with high correlation to if they're a top down or bottom up thinker when it comes to coding in that top down devs tend towards smaller functions and bottom up devs tend towards larger functions.
If there is in any validity to my anecdata, my hypothesis has been that the top down/smaller function crowd is more likely to trust underlying implementation of sub-functions for one reason or another, while the bottom up/larger function crowd wants to be able to visually verify how things work.