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

> The worst part about these issues is that they aren't consistent, and fail completely silently. Global variables cause heisenbugs - you'll only notice when there's a collision

Firefox has had the ability to warn about implicit globals for quite some time now, and strict mode will error out when encountering an implicit global being created.



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

Search: