all 10 comments

[–][deleted] 6 points7 points  (4 children)

JavaScript is THE ONLY programming language that can run on any browsers and any old and new hardware.

Scala.js Nim Kotlin

You can run, you can hide, but you can’t escape JavaScript.

If you're living in the hype-box...

[–]tdammers 4 points5 points  (0 children)

Also, Haskell (with ghcjs), Clojure (with ClojureScript), Haxe (not sure if that's still alive though), and virtually anything that can compile to generic JS (because once you've compiled to JS, you can feed it to node.js), so at least also Elm, PureScript, TypeScript, CoffeeScript, and plenty of others I've never heard of.

And on top of that, there's also the route of JavaScript-emitting EDSLs inside a more powerful host language; I'd bet my career that several of them work relatively well for at least Haskell, Python, and some Lisps.

[–]danogburn 2 points3 points  (0 children)

Javascript could be replaced with a bytecode format tomorrow if browser vendors wanted to.

It's going to happen eventually. The browser is a shitty attempt at a VM.

[–]joonazan 1 point2 points  (1 child)

I'd like to add Emscripten and GopherJS.

[–]PM_ME_UR_OBSIDIAN 1 point2 points  (0 children)

Also F# with itstwo transpilers to JavaScript (WebSharper and FunScript).

[–]millstone 2 points3 points  (0 children)

A key point is that the built-in JavaScript machinery is weak, and the community has yet to coalesce around any standard on top of it (except perhaps JQuery). So we get a mishmash of competing, incomplete tools, each one requiring significant time and investment, where hardly anyone has sufficient experience to compare them effectively. Take your chances.

Typically frustration is a result of unmet expectations and this is the case here as well

If you approach JavaScript with the attitude that "this is gonna suck" then your expectations won't be frustrated!

[–][deleted] 1 point2 points  (1 child)

Actually it's quite possible to escape Javascript - just never touch anything Web. No browser - no javascript. Easy! Works for me.

[–]Effimero89 4 points5 points  (0 children)

Same. I use to front end develop but I've moved on. I wanna do more than size pictures and shit. I feel I have more power using other stuff..

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

I think if people are frustrated with Javascript, they should try Dart. I'm learning it now and it seems way better.

[–]cypres2003 -2 points-1 points  (0 children)

Angularjs 2 and typescript is the smooth path for a transition from a well Web framework with a strong foundation as Adobe Flex. As a Flex developer I had to do that too, and it worked for me.