News for hackers. Stuff that matters.
Re:TypeScript: a language for application-scale JavaScript d... by jonknee on Monday October 01, 2012 @03:01PM (#4598744)
What are the problems with Javascript you speak of? The libraries hiding you from terrible bits, at least the ones I use, have to do with the DOM and not with Javascript.
Re:TypeScript: a language for application-scale JavaScript d... by PommeDeTerre on Tuesday October 02, 2012 @08:16AM (#4601578)
The problems should be blatantly obvious to developers who have used languages other than JavaScript and PHP (which both have many of the same flaws).

Once you've studied and used languages like C, C++, Python, Java, C#, Haskell, Scheme, Erlang and Standard ML, you'll see what we mean when we say that JavaScript is a very flawed language. Pick any of its features, and compare that feature to the equivalent feature in the other languages. JavaScript's approach will generally be the worst of all of them.

Re:TypeScript: a language for application-scale JavaScript d... by georgemcbay on Monday October 01, 2012 @05:28PM (#4599443)
Variable scoping, unavoidable global namespace pollution, === vs == insanity, etc.
Re:TypeScript: a language for application-scale JavaScript d... by pooriaazimi on Monday October 01, 2012 @11:59PM (#4600567)
Last week I learned about another crazy "feature": Function hoisting

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

Re:TypeScript: a language for application-scale JavaScript d... by shawndellysse on Monday October 01, 2012 @11:34PM (#4600527)
But how do libraries help you from that?
Re:TypeScript: a language for application-scale JavaScript d... by georgemcbay on Tuesday October 02, 2012 @01:01PM (#4602972)
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.