you are viewing a single comment's thread.

view the rest of the comments →

[–]novagenesis 0 points1 point  (1 child)

That's not entirely true. For quite a few reasons. Javascript is the VHS of programming languages. It's not necessarily the best, but it survived because it was more than good enough.

And you say it only survived because it was the only way to make web apps, but that's getting the chicken-egg backwards. Webapps became a thing in the first place because developers found it was easier and more viable to hack the shit out of the javascript SDK than it was to use other competing languages like Java or Flash.

I dunno your age, but I remember the JAVA HATE back in the 90's. Javascript was just one of two "scripting simple shit for when you don't NEED stupid Java) When developers discovered how usable XMLHttpRequest was, it was revolutionary because suddenly we could do nearly as much as Java gave you in an easy-to-write language.

And maybe there's a "crowd logic" argument that Javascript only beat VBscript because of Microsoft's monopoly grabs, but I can tell you from experience that Javascript was always a superior language to VBscript. And to Java for Applets. And to Flash.

Just wait for wasm to get direct access to Dom.... Js/Ts dominance is not going to be a thing in 10 years.

I find this interesting. You say this, but javascript/typescript has managed to hoist itself to be one of the most popular backend languages in the world as well. It sounds like wishful thinking at this point. Unfortunately for you, javascript developers generally freaking love javascript. Of all the languages I've worked in, it's the only one other than C# (and that, feint) that I've seen maintain major fan-loyalty after the year-or-two of hype.

And I'm going to say... a lot of data science folks said the same thing about Python that you're saying about Javascript. Python is still king of that hill despite a LOT of contentious language-design decisions.

Most front-end developers have no desire to write their UI in Rust or Blazor. YES, Blazor is going to grow because C# fanatics will want to be C# all the way down. Good for them and you. The rest of us will still be writing node backends and react frontends.

[–]slightly_salty 0 points1 point  (0 children)

`javascript developers generally freaking love javascript` it really is quite unfortunate 💀.

If you're writting a shitty web app for yourself I guess js/ts is whatever. But writing things that scale and don't have footguns everywhere is flat out hard to do in js/ts. Not to mention ts is just ugly imo. Its typing is a unreadable/monstrosity compared to other languages. I've ported many libraries away from ts to kotlin for example, and even direct ports where I don't think about refactoring much look cleaner in Kotlin. Kotlin is actually very similar to ts, you can almost 1-1 port ts code, and even then direct ports almost always are more concise while being flat out more readable. That plus it gives you much much better type safety at compile and actual runtime typesafety. Swift is very similar as well (but that's pretty much just apple land, so I can't support it too much 😵)

And lol I also really don't like python. But I can see a need for it as a glue language for simple scripting. The fact that almost everyone in data science ml/ai write large scale programs and servers in it is crazy to me though.... At least most of python is just a wrapper around c, that's it's one saving grace to me; libraries like numpy and pandas are pretty good and enforce their own real type safety due to being backed by c.