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.

Jun 29, 2018 路 2:40 PM UTC

13
19
104
Replying to @stilkov
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
Replying to @stilkov @dzuelke
is it a rhetorical question you have about insanity? I think you always have been since I first saw you speak at some WS conference about REST :D
1
I鈥檒l just choose to take that as a compliment
2
2
Replying to @stilkov
JSX -> Still need to understand the HTML bits. CSS in JS -> still need to understand the CSS bits. GraphQL-> still need to understand the HTTP verbs and thus implicit REST
Replying to @stilkov
The world of frontend dev is a hype driven world, this is why it's not actually moving forward, it's just a complete throwaway and start over each cycle. 3 years from now and we'll be asking what was 'css-in-js, jsx'?
1
Replying to @stilkov @Ocramius
No, you are sane. This is about engineering: every device is designed for a purpose and REST is about leveraging HTTP. GraphQL use HTTP like a socket, moving the swindle toward client-server paradigm. As long as this decision is appropriate to solve your problem... is it?
Replying to @stilkov
I thought the same thing. So no.
1
Replying to @stilkov
You鈥榬e not. Anyone who ever had to maintain code that mixed presentation with processing would know.
Replying to @stilkov
FFS. Stefan, (and just picking up on the most blatantly incorrect thing) how is that in 2018 otherwise smart children don't understand what REST is??? #mindboggling
2
4