Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

We had a discussion about this in my last team. It really comes down to the JS community being divided in 2.

You have the first group, of which most of us were part of at least at some point: developing in our language of choice and being "forced" to use JavaScript for some frontend stuff, in the same way we kind of have to use SQL in some form when hitting a database.

That group generally wants to touch JS has little as possible then forget about it. Ideally making it as close to their language of choice as possible (similar to ORMs for database).

Then there's the other side, people who are running away with it and pushing it as far as possible. That also comes with some problems (JS fatigue, millions of frameworks, etc).

But generally, most comments will fall in one of the 2 categories.



> That group generally wants to touch JS has little as possible then forget about it.

WebAssembly will be the thing which grants that wish. Once there's a compiler for your language of choice that can compile to WebAssembly the need to use JavaScript will be kept to a minimum.


Bingo. And that, IMO, will be it. The problem right now is that people have no choice. They can use compiled to JavaScript languages, but they're ALL leaky abstractions.

Once people can use the tool they want instead of the tool they have to use, things will be a lot better.

One thing about WebAssembly (and compile to JS languages have had that issue for a long time, and still do to some extent) is the tooling. If the debugger doesn't properly handle breakpoints in the original source (for real. Not the garbage that is sourcemaps that can't even properly map variable names), and if people developing in WebAssembly languages still have to think javascript, then it won't be much better.


Y but you will have to support JS for 10+ years regardless


Maybe not. There's a WebAssembly polyfill for browsers which don't yet (or never will) support WebAssembly: https://github.com/WebAssembly/polyfill-prototype-1

And the load times are still good: https://github.com/WebAssembly/design/blob/master/FAQ.md#can...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: