3 ms·
2mb of scripts actually seems impressively small. I'd say kudos to the author for practicing what she preaches.
by idrios 5y ago
2mb of scripts actually seems impressively small. I'd say kudos to the author for practicing what she preaches.
- alpaca128 5y agoThis site here seems to have roughly 8kB of scripts, about 250kB for everything. I'd say that's more impressive than loading the counterpart of multiple novels for mostly the same functionality.
- johnisgood 5y agoBoth websites could easily be done without JavaScript. I have built a blog and a site similar (without voting) to this using PHP/HTML/CSS when I was young.
- alpaca128 5y agoHN works nicely without JS. With JS enabled it doesn't need to reload the page when you vote, so it's not necessary but still useful. The problem are most other sites that often don't even load or show any content without JS support, or break in many creative ways. Although for weirdness you only need to disable custom fonts in the browser, and suddenly Reddit's notification button shows the Paypal logo and many websites have random chinese symbols scattered around the UI. And Google Translate looks like you need a translator to use it.