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
Replying to @MikeRogers0
No, why would it? HTML and CSS are declarative because of a conscious design choice, not by accident.

Jun 29, 2018 路 2:57 PM UTC

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?
1
Replying to @stilkov
If someone approached me and said "Here is a new platform, you've got to learn 3 languages to do it" and someone else said "Here is my platform, you just need to learn 1 language", the second would be a much easier sell, especially if I'd never programmed before.
2
Yes. Easier doesn鈥檛 mean better or simpler, though. I鈥檝e seen people pitch Flash and Flex and Java Applets and Silverlight with the same reasoning.
1
15