Hacker News new | ask | show | jobs
by idrios 1633 days ago
2mb of scripts actually seems impressively small. I'd say kudos to the author for practicing what she preaches.
1 comments

This 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.

Both 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.
HN 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.