Hacker News new | past | comments | ask | show | jobs | submit login

I'm at the point where I question whether almost all tools that we use for the web need to be revised. HTML, CSS, and JavaScript have served us well... but I think all of them are showing their age, and everything built above them is a hack at this point. But they are all so engrained that nobody can imagine how things might be done better...

JavaScript was obviously never intended, or designed, for 90% of the things it's used for. Also, as a language, it's so flawed that we have stuff like `left-pad` and `is-odd` on npm which is just atrocious...

CSS, and styling pages in general, has always been a mess. Either have a disaster trying to name all your classes, or abuse HTML by using a billion utility classes a la Tailwind.

HTML was obviously never made for utility classes, encourages bad practices like inline styles, was never designed for DOMs of such massive size, and the number of strange new HTML tags that don't quite do the job is quite large.




> CSS, and styling pages in general, has always been a mess. Either have a disaster trying to name all your classes, or abuse HTML by using a billion utility classes a la Tailwind.

In my book this is not a problem inherent to CSS but, well, how to name classes and stuff in your HTML. At this very moment writing CSS is just amazing and many of its "new" features are what many of us have dreamed about for years.

Still I have another unpopular (and for many of you, stupid) opinion: I'd like it if HTML, CSS and JavaScript had all the same syntax. Like QML's.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: