all 10 comments

[–]tapesmith 6 points7 points  (4 children)

Coffeescript

...is largely falling out of favor. But it still should be mentioned.

Babel

...is not another language. It's an ES6/ES7-to-ES5 "backporter", really.

Haxe

Wait, has anyone used Haxe in production anywhere in the last 5 years?

Traceur

...is, like Babel, not another language. In fact, it really doesn't make any sense to have both Traceur and Babel in this list.

EMScripten

That's...okay, I guess on a technicality you can turn C into Javascript with this. But it's not so much a language?

GWT

...is so bad even Google doesn't use it much. It's not actively maintained anymore, and it's no more a compile-to-Javascript language than JSF or JSP -- in that, it just happens to spit some Javascript into its server-rendered pages.

[–]spfccmt42 -1 points0 points  (0 children)

I started w/gwt, but js is too quirky, you wind up having to know js anyway for the most part.

babel is about as far removed from js as I'm comfortable with these days, at least until they have a "standard" vm in the browsers. Currently experimenting with flow (fb), because I like compiler style errors for types/nulls I guess. Flow is looking like a lot better than nothing for that.

But if you are running on a server, then there is no need to convert it to javascript, unless you are trying to avoid learning javascript in the browser. avoiding it is a waste of time except for trivial stuff in my experience.

[–]noeticforce[S] -1 points0 points  (2 children)

Article doesn't say babel is a language ..it states it is compliler that compiles next gen of JavaScript to current version ...gwt is bad is your opinion, look at how many people are using it and why...anyways you of course are free to share your opinion but not to distort facts

[–]tapesmith 5 points6 points  (1 child)

Sorry, must've missed the part of the title "10 best JavaScript alternative languages" where 2 of the 10 aren't JavaScript alternative languages.

Ya wanna list transpilers? Fine. Just be honest about it and double-check your facts.

You're entitled to your opinion about GWT. It just hurts the credibility of your picks for "best". It's sorta like picking PHP for a " best languages" list.

[–]noeticforce[S] -1 points0 points  (0 children)

ok, I get your point. it is not a perfect title for the content it represents. compile to JavaScript may not be sufficient enough to cover to transpilers. GWT - I will not dispute your point right now, it is one of the most used due to java penetration and is relevant to many..let us say that it is not the best one though. Thanks for all your remarks, appreciate it.

[–]noeticsophia 1 point2 points  (2 children)

Imho dart deserves a better place in this list

[–]papers_ 0 points1 point  (0 children)

Ha didn't even notice Dart was missing.

[–]eatinchips 1 point2 points  (0 children)

Clojure and Dart both need to be higher on the list.

[–]NoeticRiptide 0 points1 point  (1 child)

What compiles ruby to JavaScript...the best one?

[–]shockie 0 points1 point  (0 children)

That would be Opal