>Things that should be easy become hard, and things that are hard become `any`. No thanks!
Denouncing a type system because you refuse to use it correctly seems short sighted to me, but I am of course biased as a TS fan.
>Things that should be easy become hard, and things that are hard become `any`. No thanks!
Denouncing a type system because you refuse to use it correctly seems short sighted to me, but I am of course biased as a TS fan.
Thankfully you and Typescript are here to show me how to do it right.
I have seen people with decades of experience who remained stuck doing things the same way they first learned to do them and refusing to adapt.
Meaning you could create most modern applications (including this very website) without really learning to program...
Fun perspective.
My impression is that people running into these problems are trying to add declaration files to JavaScript code, but if you use typescript throughout I've not run into these problems.
Anything I find hard to type is simply a hard problem to solve in the first place and the type system helps me rethink the problem to find safer and more elegant API designs.
cause I spend more time debugging other peoples typescript code that is usually a typescript problem and is obfuscated by the extra layer. If we used vanillaJS then it would save everyone so much time.