DEV Community

Discussion on: JavaScript or TypeScript first?

Collapse
 
zenbeni profile image
Benjamin Houdu

TypeScript has more features and of course types, can be used in the same environments as JavaScript, so no downsides to use it in place of JavaScript except a more complex build pipeline. It adds more compile checks, and better maintainability in the long run, which is something so important for big projects that are going to live long.

Java developpers for instance love TypeScript more than JavaScript for most I've seen. The Deno runtime supports TypeScript natively, Terraform CDK for TS, Github actions in TS, it is going te be first citizen in many techs now.

At the end of the day, if you get used to use types, I personally think you would not go back to JavaScript once you use TypeScript.