| ▲ | appplication a day ago | ||||||||||||||||
> If suddenly CSS became pleasant to use Not being sarcastic, but this will never be. CSS is a perfectly functional interface, but the only way it becomes less annoying is when you abstract it behind something more user friendly like tailwind or AI (or you spend years building up knowledge and intuition for its quirks and foibles). We have decades of data at this point that fairly conclusively shows that many people find CSS as an interface inherently confusing. | |||||||||||||||||
| ▲ | eddythompson80 a day ago | parent | next [-] | ||||||||||||||||
I agree. I actually think CSS (and SQL or other “perfectly functional” interfaces) hold some kind of special power when it comes to AI. I still feel that the main revolution of AI/LLMs will be in authoring text for such “perfectly functional”-text bases interfaces. For example, building a “powerful and rich” query experience for any product I worked on was always an exercise in frustration. You know all the data is there, and you know SQL is infinitely capable. But you have to figure out the right UI and the right functions for that UI to call to run the right SQL query to get the right data back to the user. Asking the user to write the SQL query is a non-starter. You either build some “UI” for it based on what you think is the main usecases, or go all in and invent a new “query language“ that you think (or hope) makes sense to your user. Now you can ask your user to blurb whatever they feel like, and hope your LLM can look at that and your db schema, and come up with the “right” SQL query for it. | |||||||||||||||||
| |||||||||||||||||
| ▲ | smt88 a day ago | parent | prev | next [-] | ||||||||||||||||
Things like flexbox have made CSS indescribably better and easier to use than it used to be. It's still bad, but degrees matter a lot. As a fullstack dev, I couldn't do pixel-perfect CSS 10 years ago, and today I can. That's a lot of progress. | |||||||||||||||||
| |||||||||||||||||
| ▲ | Quekid5 17 hours ago | parent | prev [-] | ||||||||||||||||
It's getting better (in a C++ kinda way), certainly, but... It's ultimately still driven my matching "random" identifiers (classes, ids, etc.) across semantic boundaries. Usually, the problem is that the result is mostly visual which makes it disproportionately hard to actually do tests for CSS and make sure you don't break random stuff if you change a tiny thing in your CSS. For old farts like me: It's like the Aspect-Oriented Programming days of Java, but you can't really do meaningful tests. (Not that you could do 'negative' testing well in AOP, but even positive testing is annoyingly difficult with CSS.) EDIT: Just to add. It's an actually difficult problem, but I consider the "separate presentation from content" idea a bit of a Windmill of sorts. There will always be interplay and an artificial separation will lead to ... awkward compromises and friction. | |||||||||||||||||