An unofficial, read-only Hacker News reader. Join the beta →

2035 came early (opens external site)

1035 points by setheron 4 days ago | fzakaria.com | 382 comments on HN

View full thread · View on Hacker News

Comment thread (5)

  1. JS is not the worst language but I would not say it has elegant and consistent design like some other languages do. Not every languages has the list of quirks as long as JS: https://github.com/denysdovhan/wtfjs (but C/C++ have much more foot-guns).
    Replies (1)
    1. The quirks are almost all to do with the old type coercion features that js has. If you enable linting to ban these features then you remove almost all these quirks and you're left with a modern and mostly clean and consistent language.
      Replies (1)
      1. …no. Prototype inheritance, bundles/mjs module hell, bizarre for-in iteration syntax, features missing from the stdlib … there’s a lot more wrong with the language than the broken type coercion system.
        Replies (2)
        1. You don't have to use prototype inheritance though. Bundles and modules can be horrible to work with, but is more of an ecosystem problem. There is no problem with the iteration syntax, you can learn it once and never worry about it again. The stdlib is decent, I find it more pleasant to work with than some other popular languages.
        2. These things are not used in modern js (lint rules for syntax) or they are completely solved by modern runtimes (modules/bundles solved by node 26 & vite).

          JS in 2026 just works.