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

Nested functions are good if you have no alternative. If you use them as lambdas or a means of code folding, (both of which don't exist in older IDEs and compilers) you will have to keep jumping around in code in order to follow the logic. That is a very tiring thing to do, especially if you just switched jobs.


There are always alternatives. The issue is how naughty or nice they are.




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

Search: