4 ms·
I've always used a soft limit of 120. I use it as an indicator that I am either nested too deeply or my functions have too many parameters. Or just in general
by lugg 7y ago
I've always used a soft limit of 120.
I use it as an indicator that I am either nested too deeply or my functions have too many parameters. Or just in general my code is too complex / hard to read after the fact.
Sometimes things call to break the soft limit that is fine, it's only a signal of potential problems, not an indicator of definite problems.
And fwiw, if you can't refactor like that without concern it's a language design failure. A pretty big one actually.