this post was submitted on 26 Jan 2023
11 points (100.0% liked)
General Programming Discussion
7816 readers
2 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It loads immediately (just flat HTML/CSS/image/font files), it does not slow down user experience in the browser, it also signals very clearly there are not weird third-party JS scripts slurping the data for whatever godawful reason.
Additionally, one can build pretty nice, responsive, fast UIs with just HTML and CSS, and browser developers spent decades optimizing their rendering engines for that. JavaScript components on the front-end tend to be buggy, slow, and just all-around shitty UI/UX.
Thanks. I think I will remove the JavaScript from the website I am working on right now. I don't really like JavaScript anyway.
It has its place, but if it can be avoided, I believe it should. Basically, if something can be implemented using just HTML/CSS, it's probably better to do it that way.
Fun fact, I have a large JS-based project, because what the project aims to do is impossible without JS. But the website itself is almost completely JS-free, apart from the demos (which necessarily need to use the JS-based project itself).
Awesome. I have found a way to work my project without JavaScript, and it actually makes the back-end a lot cleaner.
🎉