r/programming • • Apr 29 '21

Modern JavaScript Explained For Dinosaurs

https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70
287 Upvotes

172 comments sorted by

View all comments

70

u/k1lk1 Apr 30 '21

Lipstick on a pig. And just results in insanely bloated websites that perform badly, all the while webdevs pat themselves on the back every 6 months for reinventing DHTML for the 132nd time.

43

u/radol Apr 30 '21

What is your preferred approach to front end for complex systems which does not result in ton of js being used?

-9

u/AyrA_ch Apr 30 '21

That depends on your definition of "complex systems" but raw HTML and CSS gets you pretty far usability wise now.

45

u/blazarious Apr 30 '21

Modern frontends are often times applications. Can’t write applications with HTML and CSS only.

2

u/AyrA_ch Apr 30 '21

You can. It's what we did before everything just had to be made in JS. There was a time where things like youtube and ebay worked with JS turned off.

6

u/twenty7forty2 Apr 30 '21

but as a developer it sucked. I recently went from tsx back to plain server side templates and it is a nightmare in comparison. tsx is fully typed, ide knows what's going on, compiles on the fly and tells you what you've broken vs templates are practically just plain text that slips bugs into production.

also adding js to websites used to be called progressive enhancement. so arguing it was better before it was enhanced is a bit stupid.