3 ms·
> Has anyone seen production code with <=10 lines of code per function before? I've seen code where many functions were like this, and very few were over 30 li
by SideburnsOfDoom 11y ago
> Has anyone seen production code with <=10 lines of code per function before?
I've seen code where many functions were like this, and very few were over 30 lines. It was easy to read. And it was tested and generally working well. Naming becomes important, but that's part of the point of extracting functions for readability.