3 ms·
Easy, just don't write JS. For most sites, there's hardly any need for it. On HN, for example JavaScript is only 150 lines[1]. [1] - https://news.ycombinator.c
by xyzzyz 7y ago
Easy, just don't write JS. For most sites, there's hardly any need for it. On HN, for example JavaScript is only 150 lines[1].
[1] - https://news.ycombinator.com/hn.js https://news.ycombinator.com/hn.js
- jdnenej 7y agoAnd you can tell. The page reloads when you want to edit a comment. Also hacker News is one of the simplest use cases ever.
- xyzzyz 7y agoThe page reloads when you want to edit a comment. Yes, and it takes less than a second (checked in Chrome performance console) to do it. I'm happy with that. Also hacker News is one of the simplest use cases ever. Note that 95% of Facebook by usage (scrolling through feed, liking and commenting) doesn't have much more functionality than HN.