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

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



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

http://elegantcode.com/2011/03/24/basic-javascript-part-12-f...


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 | Lists | API | Security | Legal | Apply to YC | Contact

Search: