Squidward Tentacles meme format. Top panel shows Squidward looking happy while setting up a beach chair, with the text 'WANT TO CONTRIBUTE TO AN OPEN SOURCE PROJECT I USE AND APPRECIATE'. Bottom panel shows Squidward looking sad and disappointed, folding up the chair and going back inside a building, with the text 'WRITTEN IN JS'.
you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 11 months ago (3 children)

A few lists of javascript WTFs:

To anyone who thinks they know JS well and that its quirkiness is not a problem, let me know how you do on these quizzes:

  • source
  • hideshow 3 child comments
  • [–] 7 points 11 months 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

  • source
  • parent
  • [–] 2 points 11 months 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.

  • source
  • parent