Better HN
topnewbestaskshowjobs
Log inSign up

borovec31

1 karma · joined Feb 21, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

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.