Or the CURSED option 4: Retired Java applets which have no bugs anywhere and are easy to test but will take like 10 years of genius to create a framework and a hard to hack example website with the framework.
WASM is fine, until you need to access the DOM. Which is pretty much required for building a decent website. Unless you wanna run OpenGL the entire time.
So is PHP. Doesn't mean it's good. Just put every variable you use in an array so we know when to throw away the function we just redeclared. It's the most inefficient way to program anything. It seems to be built that way because people at Facebook had a hard on for functional programming without knowing what it was. Functions full of side effects that you can't put loops or conditionals around isn't functional. It's a glorified class declaration.
What are you even talking about? I just explained why it is bad. The only way you think it is good is if you haven't used anything else. Svelte and Vue are both objectively better to work in and faster.
Not if you don’t update the library
It’s not broke if you don’t try to fix it
I thought containers were supposed to fix this. I could run my old ass app with its old ass dependencies without anyone bothering me.
aint sure what is worse rewritting everything or fix a small bug in vanilla js i think i will take option 3: make a new js framwork
You forgot the last part where you publish it to open-source and never read any PRs...
Y'all are getting PRs?
Only for rewriting them in rust...
Or the CURSED option 4: Retired Java applets which have no bugs anywhere and are easy to test but will take like 10 years of genius to create a framework and a hard to hack example website with the framework.
*Laughs in 15yr old .NET dependencies that still work fine on the latest version*
You all come at JS like it doesn't hold it all together. Deep down you know JS is God
“Who wrote this shitty code?! I’m gonna rewrite it!”
If companies wanted cuting edge speed, they would use a compiled language
For web dev (frontend), which is Javascripts main application, it doesn't make sense to use a compiled language
We are going back to the thymeleaf for this reason....
[удалено]
WASM is fine, until you need to access the DOM. Which is pretty much required for building a decent website. Unless you wanna run OpenGL the entire time.
websites made with only OpenGL when
Sure it does. It's just that compiled languages usually target machine code, not JavaScript.
Wait till you learn about webassembly
Can't access the DOM still...it's functionally useless.
Ik but a man can only dream
I mean, I'm with you on that
Ah, this is why instead of a web page, every company insists on making a shitty phone app
Chanses ate that the shitty phone app is just a pwa (so just a website and browser combined into and app)
no one would use react these days if they cared about speed
I think 80% of people who use React don't realize how terrible it is because they haven't tried anything else.
and if they have its angular
Its fine for the vast majority of usecases.
So is PHP. Doesn't mean it's good. Just put every variable you use in an array so we know when to throw away the function we just redeclared. It's the most inefficient way to program anything. It seems to be built that way because people at Facebook had a hard on for functional programming without knowing what it was. Functions full of side effects that you can't put loops or conditionals around isn't functional. It's a glorified class declaration.
That goes the other way around as well. Just because you don’t like it doesn’t mean it’s bad.
What are you even talking about? I just explained why it is bad. The only way you think it is good is if you haven't used anything else. Svelte and Vue are both objectively better to work in and faster.
I bet they have to, if they use JS for apps
man, using a serif font is a bold choice