3 ms·
My point is not performance but that a function used only once is likely just contributing to one conceptual block of code. But now it's artificially divided u
by wvenable 9y ago
My point is not performance but that a function used only once is likely just contributing to one conceptual block of code. But now it's artificially divided up and one has to jump around to understand that code as a whole. There are exceptions of course but blindly adding functions to avoid indenting is probably going to lead to a harder to follow solution.