4 ms·
> Keep your functions to one or two pages. When I encounter functions that large, where the body isn't almost entirely declarative, they tend to be doing way t
by eyelidlessness 10y ago
> Keep your functions to one or two pages.
When I encounter functions that large, where the body isn't almost entirely declarative, they tend to be doing way too much. A function longer than 10 lines is a smell, IMO.