3 ms·
Regardless of whether or not your observation about CS graduates is true, I don't think that has anything to do with it. The difference is that with the backen
by crazygringo 6y ago
Regardless of whether or not your observation about CS graduates is true, I don't think that has anything to do with it.
The difference is that with the backend, you have choice over what technologies to use. There's competition between languages and ecosystems, so a better more elegant one can replace a worse crufty one.
But with the frontend, there is no competition. You have to use HTML, CSS, and (roughly) JavaScript.
If, when the web had started, it had been based on some kind of primitive bytecode for rendering, that HTML+CSS+JavaScript compiled to, then we could have had language competition and better technologies today. But that's not what happened. Front-end is stuck with an old, crufty tech stack that simply can't ever be replaced. Back-end doesn't suffer from that.
- zozbot234 6y agoWhat's wrong with HTML+CSS as a rendering primitive? It's quite successful in decoupling semantics from presentation, which is a requirement for a platform that's as widespread and universal as the modern web. JS is a bit crufty, but you don't have to deal with it. You could write everything in some other source language and compile down to JS/WASM. (Even low-level languages like C/C++/D/Rust can support this via Emscripten.)
- crazygringo 6y agoThe article is almost entirely about what's wrong with HTML+CSS -- the frustration over whether to use tables, floats, flexbox, grid, or whatever will come next (as one example of many). HTML+CSS is a soup of overlapping technologies that has accumulated into this tangled ball of mismatched paradigms from nearly 30 years of "generational" improvements. I grew up with it from the beginning so I understand the reasoning behind it all. But to someone wanting to learn it from scratch, trying to decipher tables vs. floats vs. flexboxes vs. grids must seem like utter madness -- a layout language written by a truly insane person.
- craftinator 6y ago> If, when the web had started, it had been based on some kind of primitive bytecode for rendering Which is WASM! Well, sorta.