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

If you normally only do a couple lines of jQuery per day then I agree that you don't encounter the warts very often.

If however you want to do even some OOP you cannot miss the world of hurt that is coming your way. Then there's the horrible weak type system which makes maintenance of anything needlessly complex, not to mention the global variables, unused reserved words, anything that has to with numbers etc.



TypeScript solves JavaScript's type problems pretty well, it's worth a look.


Does it play nice with Javascript frameworks like Angular?


Yes, there are type definitions for most popular JavaScript libraries.

https://github.com/borisyankov/DefinitelyTyped




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

Search: