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."
Thread beginning with comment 537294
To view parent comment, click here.
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?"
Member since:

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

RE[7]: Two?
by moondevil on Tue 2nd Oct 2012 09:06 in reply to "RE[6]: Two?"
moondevil Member since:

I see.

Thanks for explaining your point of view.

In my particular case, I've learned OO in multiple languages besides the OO model that is known to the majority via C++, Java and similar languages.

Dylan, Self, CLOS, Modula-3, Oberon, BETA, Eiffel, Sather, Smalltalk, SWI Prolog, were a few languages that showed me different ways of doing OO. Not all of them to my liking.

I was lucky that my CS degree had a strong focus in language and compiler design.

Reply Parent Score: 2

RE[8]: Two?
by lucas_maximus on Tue 2nd Oct 2012 13:04 in reply to "RE[7]: Two?"
lucas_maximus Member since:

When I said "not a proper language", I meant "considered by some developers as not a proper language".

Reply Parent Score: 2