4 ms·
Variable scoping, unavoidable global namespace pollution, === vs == insanity, etc.
by georgemcbay 14y ago
Variable scoping, unavoidable global namespace pollution, === vs == insanity, etc.
- shawndellysse 14y agoBut how do libraries help you from that?
- georgemcbay 14y agoKitchen 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.
- pooriaazimi 14y agoLast week I learned about another crazy "feature": Function hoisting http://elegantcode.com/2011/03/24/basic-javascript-part-12-function-hoisting/ http://elegantcode.com/2011/03/24/basic-javascript-part-12-f...