3 ms·
The sheer number of local variables can be a problem, especially when you want to refactor parts of a function to their own functions. All those variables you'r
by borovec31 5y ago
The sheer number of local variables can be a problem, especially when you want to refactor parts of a function to their own functions. All those variables you're using in the scope of this big function become parameters to the subfunction so you can easily end up with 6+ parameters to these refactored functions.