4 ms·
Just like with other design principles / best practices / ... this is context-dependent and there's a certain threshold wrt number of lines, number of variables
by stinos 5y ago
Just like with other design principles / best practices / ... this is context-dependent and there's a certain threshold wrt number of lines, number of variables, complexity of the function. Above which, in this case, n starts to lose its meaning and the OP's principle starts to make sense imo.