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

2035 came early (opens external site)

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

View full thread · View on Hacker News

Comment thread (8)

  1. Thank you for saying it like it is. JavaScript is such a curse (or possibly a joke) on humanity
    Replies (1)
    1. What a blast from the past. You guys do know by now typescript or really any other language is possible to use for webapps as you can compile/transpile your favorite to WASM?

      Javascript is ugly, but simple and got the job done. That's the reason for its success.

      Replies (2)
      1. No. By a large margin the main reason for JavaScript's success is that it is the only language with first class support in browsers.
        Replies (1)
        1. And why was it the only language in the browsers? And why did it spread to servers?

          Well, what alternative was there? At the time for the bowser - none as far as I remember. For the server ... Java was bloated and PHP even more ugly. So I also choose node.

          Replies (1)
          1. > And why was it the only language in the browsers?

            Nobody wanted to implement another language which would have broken cross browser functionality for animating menus on HTML pages.

            > And why did it spread to servers?

            Because frontend devs didn't want to learn another programming language.

            > Java was bloated and PHP even more ugly. So I also choose node.

            So you chose an environment that was slow, single-threaded, had an immature ecosystem, callback hell, and was difficult to debug. To each their own I guess.

            Replies (1)
            1. "To each their own I guess."

              What choice was there, when I liked Java even less?

              And node is just simple. I even used it as a cross plattform toolset. Indexing files. Moving around, tagging, sorting, toolcall. Not nice looking, but simple enough that it just worked. And I never had callback hell in node, as I kept my servers simple and most of the logic on the client.

      2. The only reason for Javascript's success is that there was no alternative.
        Replies (1)
        1. Yes, but why was there no broad alternative, despite lots of complaints?

          Cross plattform is hard.

          (I actually prefered actionscript, while that was a alternative)