Linked by Thom Holwerda on Mon 1st Oct 2012 22:55 UTC
General Development "Everyone seems to have a replacement for JavaScript - Google even has two. Now Microsoft has revealed that Anders Hejlsberg has been working on a replacement and it has released a preview of TypeScript. TypeScript is open source - Apache 2.0 license - and a superset of JavaScript. As you would expect from a Hejlsberg language it incorporates type checking, interfaces and lots of syntactic sugar."
Permalink for comment 537294
To read all comments associated with this story, please click here.
RE[6]: Two?
by lucas_maximus on Tue 2nd Oct 2012 08:53 UTC in reply to "RE[5]: Two?"
lucas_maximus
Member since:
2009-08-18

Neither have I.

However for what JavaScript does and the fact that it is significantly different to how every server side popular server side language works when it comes to OOP. There are also lots of caveats when dealing with types, which if you aren't aware of will trip you up.

I see a lot of JavaScript atrocities because:

1) Not a proper language
2) Not understood properly by most developers, especially when they come from a Java, C# or similar background, because it looks similar to them.

I like writing code in JavaScript, but I think the syntax of the language is misleading to how it actually works, and there is a lot you got to learn that isn't obvious about the language (hoisting for example). I am not surprised people are looking for alternatives.

If you ask me last year I would have had a totally different opinion.

Edited 2012-10-02 08:59 UTC

Reply Parent Score: 3