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

Came here to make a similar comment. I'd rather inline the function than wrap every file in an IIFE.


Wrap the entire app in an IIFE, not every file.




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

Search: