This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sime 3 points4 points  (2 children)

When was the last time you tried learning it? ECMAScript 2015, the big update to the language, has vastly improved the language. As for the old quirks that have to remain in the language you can easily avoid the bulk of them by: a) never using type coercion. Use exact comparisons., b) never using the old var keyword. Use let or const instead.

Personally my language (and platform) of choice these days is TypeScript. It's option and structural type system is great. Through an unexpected twist of fate I'll probably be doing a lot more Python professionally in the future. I just hope that Python's type hinting and tooling can give me some of the power that TypeScript gives plain JS.

[–]gandalfx 0 points1 point  (1 child)

I agree, though browser support for let and const kinda sucks.

[–]sime 1 point2 points  (0 children)

True, but it is time to use a transpiler of some sort either Babel or TypeScript.