Hacker News new | ask | show | jobs
by cogman10 2042 days ago
In a heartbeat.

The fact of the matter is, ecosystem trumps everything else. For UX development, nothing comes close to javascript. The language may suck, npm is somewhat of a trainwreck, and yet, if you want any sort of esoteric component, you'll find it in JS.

It's got so many tools that it simply isn't uncommon for newer desktop apps to have embedded browser in them as an option.

Want proof?

    - Show me a Lazarus native flamegraph.
    - Show me a Lazarus graph library that comes close to D3
    - Show me a Lazarus date picker :D
Sure, if you are doing something like game design or whatever, then JS is probably a poor fit. However, for pretty much any cooperate application, it is really hard to beat the JS ecosystem. Further, the hard part of distributing those sorts of applications have already been solved. Electron works great if you need a dedicated app. However, you can also just make things a webapp and be done with it.

Yeah, I hate the language. I even hate parts of the ecosystem (is-even... WTF?!?!?!). However, you just have to admit that nothing comes close to the tools and widgets you get for free by adopting js. It was built for UX.

1 comments

> It was built for UX

It kinda really isn't. "Great UX" is not something I associate with any web app. They're generally slow and unresponsive, have atrocious accessibility, and don't integrate with OS native UX concepts.

For super simple apps, sure, you might be able to get away with OS native (or frameworks like GTK). And the look and feel will be better.

That's not really the point I was making. The point I was making is that if you want to do anything more complicated then "push this button", you'll quickly find out how limited pretty much every other UX environment is.

Javascript isn't "Great UX" it is "Great UX ecosystem".