I played with TypeScript for a couple of years. From time to time. But I only started using it in my day to day work six months ago. TypeScript 2.0 was released recently and I decided to summarise my experience with this language and its tooling.

Pros

  1. Static typing. It helps and helps a lot. I have more than 5 years of PHP experience and about the same with Java. Statically typed languages do minimise the amount of mistakes you make and improve code analysis so that all your tools like IDE can provide you hints, assistance and proper refactoring. Yes, it forces you to type a bit more, and yes, types are optional in TS so you can easily shoot yourself in the foot, but I still find them very beneficial. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store