A few days ago, David Heinemeier Hansson
announced
that Turbo 8
is dropping TypeScript
. I'm okay with that because I don't even know what Turbo 8 is. However, over the past few years, some frontend programmers have tried to sell me the idea that "TypeScript is useless, just use tests". I think people with such opinions either don't care about code quality or simply don't know what TypeScript is. Here, I will explain why you should use TypeScript.
I dunno. I think it is people don’t want to think about their code and what they are asking the computer to -actually- do. I’ve had to fix more issues due to incorrect assumptions that were allowed / looked OK in JS that would have been easily seen and/or prevented in TS (or any strong static typing system). Yes, TS may be annoying, but there are -reasons- it is. If you’re asking it to do something that is innately dumb, TS makes it -HARD- to do it, so you manage a large majority of the potential use-cases that you may not know you’re asking the runtime to manage/assume for you.