Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Plain JS is the same. How often do you search something and find the 2012 way includes copying a 20 line util function and the latest way has it built in to the language.


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


And you can tell. The page reloads when you want to edit a comment. Also hacker News is one of the simplest use cases ever.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: