4 ms·
JS has a great future: first class ubiquitous promise + async-everything. Can't find that in Ruby/Python/PHP, you have to use something like Twisted/asyncio whi
by hombre_fatal 6y ago
JS has a great future: first class ubiquitous promise + async-everything. Can't find that in Ruby/Python/PHP, you have to use something like Twisted/asyncio which limits you to a bolted on subset of the ecosystem, unlike in JS.
Very dishonest take btw.
Here's a forum of people who could tell you why they use JS instead of your $favelang, yet instead of trying to figure it out, you just assume everyone is lazy or a junior dev except for you.
You should be a little more suspicious of convenient little truths like that where you're the cool elite engineer protagonist and everyone else is a bumbling idiot.
I use JS on the server. Any questions for me?
- NicoJuicy 6y agoNo, I'm experienced with node and other programming languages. I never said NodeJS is a bad language, that is not related to the statement i made. I also didn't say everyone is lazy. I said a lot of developers. Most people here do not belong to that use-case. As they are mostly here by interest and are willing to learn. But most people, after work, don't do anything with their knowledge. And are more willing to learn node as it's the same on the backend + frontend. Or keep using what they already know, with no interest for other languages.
- BiteCode_dev 6y agoGo and Erlang (or Elixir) both have a better async model, and are pretty much better designed on all points. So for the rare cases where async does matter (and they are a niche, given even big names like facebook code behind async proxy and do long polling), there are still little reason to choose JS. I can't think of a single mission where, if I were not being forced to use it, I would chose it over something else. And I say that while coding a LOT of JS all year long. Even training people regularly in the language. I double down on my initial statement, if tomorrow JS is removed from the browser, it would die in a few years. It's a badly designed language that has been accumulated fixes over the years to make it acceptable while never removing what's bad. It was so initially bad that half the ecosystem of JS exists to not code in JS (typescript, coffeescript, babel, jsx, webpack...). And it has received that much of attention because we had no choice. Google spent millions to make a technical marvel of a JIT to run it at decent speed. Any tech that would have had half the resources poured into it would today be the incarnation of skynet. It's a language surviving on artificial life support than can do so because it has the best blackmail game of all time.
- toohotatopic 6y ago>Any tech that would have had half the resources poured into it would today be the incarnation of skynet. Java?
- BiteCode_dev 6y agoGood example. The JVM is one of the most amazing piece of tech ever created. It's so good it supports not only what has been most the popular language in the world for years, but many newly popular languages like Kotlin or Closure. The perf have been optimized so much they are getting about 70% of C/C++, but with high level paradigms. It can pretty much do everything. In fact, it runs on everything. It used to run on old school nokia phones. It runs on some credit cards! Despite being slowed down by patent trolling, Java found its way to more than half the modern mobile phones in the world throught Dalvik reimplementation. It's everywhere. Today, it is still ranking #2 on TIOBE and PYPL, despite having to leave with 2 decades of legacy design decisions and no monopoly.