3 ms·
That's not always true, the best cases for inlining one-use functions is when you don't introduce new local variables. I've seen 1k LoCs functions that were in
by jeremiep 9y ago
That's not always true, the best cases for inlining one-use functions is when you don't introduce new local variables.
I've seen 1k LoCs functions that were incredibly easy to understand, and 10 liners that were complete gibberish messes.
I do however agree that declaring new variables every 10 lines over hundreds of lines would be hell to follow.