4 ms·
What this image doesn't show: Refactor safety. When I can include my CSS as modules into my components (which, by the way, is still separated, only now it's co
by dclowd9901 10y ago
What this image doesn't show: Refactor safety.
When I can include my CSS as modules into my components (which, by the way, is still separated, only now it's completely isolated from demonic CSS side-effects), and when I can TEST my HTML (read that again: TEST my HTML, again, easily separatable meaningfully by utilizing a pure-function mechanism), and when I can use something like Flowtype to identify structures in my code DESPITE the type limitations of Javascript, and when I can do it performantly and brainlessly _EVEN IN_ the slapdash "platform" of The Browser (TM), yes, this is a _huge_ step forward. Don't blame the people who decided to do something about the shittiness of Tim Berners-Lee's overly-verbose and unmaintainable HyperText Markup Language for a solution that doesn't look as pretty as Python.
- paulddraper 10y ago> shittiness of Tim Berners-Lee's overly-verbose and unmaintainable HyperText Markup Language A bit too strong. Imagine Markdown becomes wildly popular and the majority of the Internet's content is now available in Markdown. As more content becomes available, we expand Markdown to include forms to get bidirectional communication. There are some layouts and styles that can't be done in markdown, so we add stylesheets. Can't exactly write them in Markdown, so we have to come up with a new language. Then people want to form validation or augment the UI in more dynamic ways, because hey, this is the platform. So we add a turning-complete language. Can't be Markdown of course, so we make a scripting-language for Markdown. --- HTML wasn't made for flappy bird; it was made for text markup. But practicality beats purity over and over and eventually people want to use the super-compatible browser platform with easy distribution model for everything. No one sinned; we just wound up here through a lot of inventions, accidents, and opportunities.
- tannhaeuser 10y agoYou're accusing TBL for "demonic" CSS (seriously?) which he didn't invent? You should ask yourself why you're attempting to use a document delivery platform into an app delivery platform for shitty apps that nobody wants anyway.
- paulddraper 10y ago> shitty apps that nobody wants anyway Nobody wants Gmail, Facebook, or Google Docs.