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

I've found myself doing this a lot. Glad to know I'm not the only one. Functions with a single call site don't need to be cluttering up a larger namespace; limited scope is also good for the internal variables.


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

Search: