3 ms·
I'm bothered by a lot of contemporary web development. Many things are implemented using far too much heavy JS code, and user experience suffers. I also think a
by hyperpape 6y ago
I'm bothered by a lot of contemporary web development. Many things are implemented using far too much heavy JS code, and user experience suffers. I also think a lot of people drastically underestimate how much we get out of modern tools.
In a followup tweet[1] and in this thread, antirez says that we haven't improved interaction in 20 years.
Let's consider gmail, which is close enough to 20 years old. But at the time, it was an example of a very rare and complex app build on top of ajax. I don't personally quite remember this, but it apparently didn't have rich text editing for a year after it was released.
Ask yourself: how long would a competent front-end developer need to make a decent 2004 gmail clone using modern front-end tools?
The ideal would be to build more lightweight websites, but exploit modern tools where they pay for themselves. While we're at it, we can write fast software without premature optimization.
[1] (https://twitter.com/antirez/status/1378274076859502593 https://twitter.com/antirez/status/1378274076859502593)
[2] https://en.wikipedia.org/wiki/Gmail_interface#cite_ref-RichText_26-0 https://en.wikipedia.org/wiki/Gmail_interface#cite_ref-RichT...
- simonw 6y agoFrom defining the entire approach when it launched, Gmail has somehow turned into the single best argument /against/ SPAs. I dread opening it, because I know it's going to be slow to load and slow to use. I don't know how it went so wrong. Original Gmail was a revelation. Today it's sludge.
- simonw 6y ago... I just loaded Gmail on an empty cache and watched the Firefox Network pane: it made 304 requests and loaded 29.65MB of stuff (9.8MB compressed) - taking 8s to get to "loaded" (on a very fast connection) and over two minutes before it stopped loading extra pieces.
- perryizgr8 6y agoTry to use the basic html version. It is a masterpiece of UI design and is blazing fast. https://mail.google.com/mail/?ui=html&zy=h https://mail.google.com/mail/?ui=html&zy=h