Just realized I was using semicolons in all of my Javascript code. Like an animal.

@bigzaphod /me feverishly checks just-written JavaScript code. *phew*

Isn't that the way it's supposed to be?

@bigzaphod Hahah. I've got ESLint set up to catch that (as in I always add semicolons) and a bunch of other stuff besides. It's not static typing but it does tend to help you catch when you've made a dumb typo.

@bigzaphod You like the "interpreter will automatically insert a semicolon at any line ending without one where it wouldn't be a syntax error to add one" behavior? I think it's one of the most confusing warts in javascript...

@bigzaphod I was coding C++ today and I got so many compiler errors, because I forgot semicolons, because the previous 2 weeks were all Swift coding

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!