Hacker News new | comments | show | ask | jobs | submit login

Variable scoping, unavoidable global namespace pollution, === vs == insanity, etc.

Last week I learned about another crazy "feature": Function hoisting


But how do libraries help you from that?

Kitchen sink libraries like jquery + jquery ui save you from having to write much JavaScript at all beyond basic glue code. The less JavaScript I write, the happier I am. This is in stark contrast to other languages I work in where I actually like to roll my own frameworks.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact