I call bullshit on this. TS supports generics and weak types (just writing 2 features for example). Someone who never used those in a different language will not be able to grok the concept in a few hours.
I've used statically typed languages before. Used typescript for a while, read a few books on the subject, how to pull types in via NPM and other admin type work, even spoke to some guys at microsoft regarding details of their choice of keywords when dealing with inheritance (compiler should throw a warning instead of mislead developers). Yet I still can't get my head around creating definition files for existing JS projects!! The &$* do you even put them lmao. So I'm with you on this one.
83
u/mariusg Mar 26 '18
"Typescript can be mastered in a few hours"
I call bullshit on this. TS supports generics and weak types (just writing 2 features for example). Someone who never used those in a different language will not be able to grok the concept in a few hours.