by orange8 · 6y ago · 0 comments
CSS - A declarative, domain-specific language for styling user interfaces.
I understand the sentiment about reinventing the wheel, but this is more like inventing tyres I suppose (fortunately they are made of rubber, so I can stretch the analogy pretty far, haha). The wheel is there, but there is something to improve to cover more use cases.
That link tag above, is not only the poster boy of interactivity, it the the foundation of the web.
> Neither allow you to build interactive user interfaces besides what is provided by the browser.
Neither does JS, or any framework built on top of it. All types of interactivity in a browser are provided by for by the browser.
Better?
Long answer: It is worse, and it all boils down to two phrases which I classify as "marketing speak". Marketing speaks aim is to impress and influence you, "technical speaks" aim is to inform and educate you. When shopping for a library or framework for your next feature or project, it helps to distinguish between the two. Usually any time you see a buzzword, you've stumbled upon some marketing speak. The buzz-wordy term "declarative" has been popularized by React, so I just thought I'd apply it to HTML and hopefully encourage someone to skill up on the web fundamentals (HTML, JS and CSS) before tackling JS frameworks to avoid disasters like this https://stackoverflow.com/questions/42464888/how-do-i-change....
> highly-interactive
What does this mean? Are you talking about video games? Because that is what comes to mind when I see the term "highly interactive".
> logic-driven
Aren't all programming languages logic driven? Or are there some feelings-driven apps?