• jpeps@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      I got a little under half in the first two, which I’m very happy with haha. JS certainly has some quirks, but you’ve really got to go looking for them IMO. TypeScript resolves most of these issues with comparing types, and the rest aren’t that unique to JS.

    • moseschrute@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      6 hours ago

      You’re not wrong, but newer version of the language have steered devs away from these quirks. The quirks remain because the JavaScript language is 100% backwards compatible. It’s fun to laugh at these quirks, but I’ve been a full time JavaScript developer for 4 years and part time since 2015, and I’ve never seen any of these quirks come up in the real world. If you tell your developers to use === instead of == in code review, you eliminate most of the problems imo.

      JavaScript tooling deserves more hate imo. The ecosystem is kinda a disaster, but Vite is making a lot of progress in fixing that. If you ignore React Native and metro bundler, I think the state of web is looking pretty optimistic right now. At least from a technology perspective. From a business/AI/enshitification perspective we’re cooked lol

    • el_abuelo@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      7 hours ago

      this quirkiness doesn’t materialise in real world applications on any scale that makes it harder to deal with than the alternatives.