No. This is just completely, 100% wrong. Am I insane now?
If we would start webdev from scratch and had to choose between: - CSS vs css-in-js - REST vs GraphQL - Templates vs JSX No sane person would choose the first options.
13
19
104
I think it's a fair point that a "new web" would be all written in a single language. However the best bit what we have is you don't need to know CSS, JS & HTML to make a webpage & doing it in whatever works is totally ok.
2
No, why would it? HTML and CSS are declarative because of a conscious design choice, not by accident.
2
20
Making CSS declarative was a conscious design choice based on a (in hindsight) totally wrong assumption. Today we know better.
1
What wrong assumption?

Jun 29, 2018 路 4:14 PM UTC

1
That it is useful or even possible to separate structure of content from style. Which might apply to a hypertext document, but not to a web application.
1
We鈥檒l just have to disagree then. Most of the time the separation of content and style is useful, in contrast to the one between web apps and web pages, which usually isn鈥檛
1
1