re: What do you dislike about your favorite language? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: FYI: there are indeed types existing in JavaScript. Maybe you wanted to write “strong types,” but strong types are extremely overrated.
 

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.

code of conduct - report abuse