by mu53 · 2y ago · 0 comments
Examples:
- High-fructose corn syrup is eating the world. . You can fight it like so many people before, but you will lose like everyone else
- Cancer is eating the world. You can fight it like so many people before, but you will lose like everyone else
Etc.
I think bad things could be replaced with better things where we have this luxury. Taking a passive stance on this is pointless and lazy.
JS is no HFCS, what an absurd comparison.
JS is being tolerated. Not adored.
Frontenders are living in a bubble and don't see it.
Such as?
> JS is being tolerated. Not adored.
Can you prove it? I’ve seen enough people of JS being adored. I am one of them (maybe because I use it mostly for hobby projects).
There is such a variation between js, perl, python, rust, C#, lisp, bash, haskell, erlang and sql that the blind spot is huge.
It's like eating hot dogs all your life and debating food merits with people that tasted japanese, indian and french food.
I forgot. ¯\_(ツ)_/¯
I do remember I've seen one website emulating parts of Photoshop that was made with WASM but I lost it since I have no interest in the area.
You can take a look here though: https://madewithwebassembly.com/
And don't try to pick those apart one by one. Point was that WASM works and people do stuff with it. I've seen it several times and since it's not my main area of interest plus I don't get paid for it, I am not exactly keeping up to date every week.
> Can you prove it? I’ve seen enough people of JS being adored. I am one of them (maybe because I use it mostly for hobby projects).
Can I prove it? How would I even do that?
We all have anecdotal evidence, plus I am not secretly one of the sysadmins of Stackoverflow or Reddit. People literally have no choice but to ultimately use JS when coding for the browser, and that's a fact of life. There's Typescript nowadays and I hear from frontenders that it's definitely better but they also say every now and then you have to drop to JS and this is where they start sighing.
So no, I can't prove it. But the mere fact that JS is a monopoly of sorts, plus it has a huge and well-documented number of problems should incline you to believe as I do.
Finally, if you allow me, you have answered your own question by saying that you use JS mostly for hobby projects. That changes things SEVERELY; you are enthusiastic about the thing you are working on and the potential idiosyncrasies of the chosen tech (in this case JS) are seen as small and only mildly annoying hurdles. And if you get tired or annoyed you can just drop the hobby project until your enthusiasm gets naturally rejuvenated.
Start working with it every day and having to integrate with a lot of 3rd party libraries and other people's code and then tell me you love JS.
...And I've heard that too btw (that people work with JS every day and love it) but as a sibling comment pointed out, you likely don't have the perspective of working with other languages with very different features and tradeoffs.
JavaScript on the server, only when I can't say no for whatever reason, like being forced to search for another job as consequence of it.
Instead of rewriting JavaScript tools in Zig, Rust, Go, whatever cool compiled language of the month, use the said language directly.
I do agree that it's time to write frontend not in JS. It has been time for 10+ years even but oh well.
...Oh? What's that? I am hearing something faint in the distance, like... "their devs are not using JS well", maybe?
Tell you what. If a technology can be held wrong, then it's a bad technology. Which, yes, encompasses most technology nowadays. You heard me.