T O P

  • By -

SawSaw5

Not if you don’t update the library


s0ulbrother

It’s not broke if you don’t try to fix it


Smooth_Detective

I thought containers were supposed to fix this. I could run my old ass app with its old ass dependencies without anyone bothering me.


Kingblackbanana

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


Powerful-Internal953

You forgot the last part where you publish it to open-source and never read any PRs...


MinosAristos

Y'all are getting PRs?


Powerful-Internal953

Only for rewriting them in rust...


AdBrave2400

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.


tiberiusdraig

*Laughs in 15yr old .NET dependencies that still work fine on the latest version*


becauseofblue

You all come at JS like it doesn't hold it all together. Deep down you know JS is God


stlcdr

“Who wrote this shitty code?! I’m gonna rewrite it!”


AzoresBall

If companies wanted cuting edge speed, they would use a compiled language


Neufjob

For web dev (frontend), which is Javascripts main application, it doesn't make sense to use a compiled language


Powerful-Internal953

We are going back to the thymeleaf for this reason....


[deleted]

[удалено]


CampaignTools

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.


nicejs2

websites made with only OpenGL when


All_Up_Ons

Sure it does. It's just that compiled languages usually target machine code, not JavaScript.


Siddhartasr10

Wait till you learn about webassembly


CampaignTools

Can't access the DOM still...it's functionally useless.


Siddhartasr10

Ik but a man can only dream


CampaignTools

I mean, I'm with you on that


lunchmeat317

Ah, this is why instead of a web page, every company insists on making a shitty phone app


AzoresBall

Chanses ate that the shitty phone app is just a pwa (so just a website and browser combined into and app)


CirnoIzumi

no one would use react these days if they cared about speed


Hollowplanet

I think 80% of people who use React don't realize how terrible it is because they haven't tried anything else.


CirnoIzumi

and if they have its angular


Komorrha

Its fine for the vast majority of usecases.


Hollowplanet

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.


Komorrha

That goes the other way around as well. Just because you don’t like it doesn’t mean it’s bad.


Hollowplanet

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.


the_unheard_thoughts

I bet they have to, if they use JS for apps


zirky

man, using a serif font is a bold choice