TypeScript
#typescript (1 post)
As a rule of thumb, if a computer is capable of doing a task as well or better than a human, I'm going to let the computer do that task.
With that in mind, it's perhaps unsurprising that I opt for TypeScript, as opposed to plain JavaScript, whenever I'm doing web development and have a choice in the matter.
For all but the smallest, briefest projects, I prefer having TypeScript so it can say, in the gentlest of voices, "hey, you're probably doing something wrong here". I consider this much preferable to JavaScript happily letting me be incompetent right up I try to run the code, and then being left to my own devices to figure out how I screwed up.
Generally, I'll use the #typescript tag on posts with a non-negligible chunk of frontend web code written in TypeScript.