Hacker News new | ask | show | jobs
by michaelmior 5266 days ago
Agreed that var hoisting can be tricky before you encounter a situation where it break something. (I suspect this happens to most JS devs at some point. Certainly has to me!)

However, what's wrong with not having types? Sounds like you're just not a fan of dynamic languages since this isn't a JS-specific issue.

2 comments

I am a fan of typeless languages for small project and build files. But js takes the cake because it doesn't even distinguish between ints and floats.
Also no types means no type completion and no refactoring.