Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Suppose there are multiple variables that came from a closure. Is it absolutely critical to redeclare each of the variables as local variable? Other than some extreme scenarios (heavy loops and such), I would argue this destroys the style to the extent of being unfaithful to the original intent of closures.


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: