Hacker News new | ask | show | jobs
by thibran 42 days ago
The future of HTML/CSS and hopefully JavaScript is, that it no longer used and replaced by a new technology stack.

Especially CSS is such a miss fitting technology for what it is used today, that web frameworks actively fight it, by trying to keep its scope to components.

When looked at web tech from a distance, it is cristal clear to me that we need something new.

Instead of all the abysmal complicated rules of CSS, we would probably be much better served by something like ElmUI (a modern advanced version of the idea) + some scripting for dynamic things.

2 comments

This is a monkey's paw situation, because instead of the web people are increasingly getting pushed into native apps. I'll take the janky web languages over native apps any day of the week.
"Some scripting for dynamic things" will never satisfy the "everything must be an SPA" crowd, unfortunately.

CSS has warts, true, but you are not forced to use them. Modern CSS can be brief and clean.

Imagine a world where we have better technology and someone looks 20 years back at an old codebase. Everybody would have a hard time to understand anything. Everything of the old web tech would look overly complex und laughable overengineered. Nobody would probably be able to understand how a piece of CSS influences a part of a web page or how all the abstractions work in the code base and why they are there in the first place.

Modern web is a mess. I wish it wasn't, but it is.