DEV Community

Discussion on: What do you dislike about your favorite language?

Collapse
 
maxart2501 profile image
Massimo Artizzu

FYI: there are indeed types existing in JavaScript.

I know that very well. I was hoping that was clear enough... It wasn't the case, apparently 😕

strong types are extremely overrated.

"Extremely", really?
Look, I really like JavaScript and I generally don't mind the lack of typed variables, but a tool for static analysis is indeed quite handy.
Not to mention that with strong types the code can be more easily optimized by the engine, saving a lot of euristic work by the compilers.

A gentle introduction to typed variables as it's done in TypeScript would be great in that sense.