Image logo Bob conference 2019.

Tutorial: 11:45-13:15 (English)

Adebayo Opesanya

Two Scripts, One Story

My Experience Building Node.js Applications with Typescript

TypeScript is an optionally typed superset of JavaScript that compiles to plain JavaScript. Because of the benefits of using Typescript, we have seen several companies including Slack, BlazeMeter, AppDynamics and Hashnode make the transition from Javascript. We’ll explore these advantages of using Typescript which include:

  • According to a recent study, 15% of bugs won’t make it to production if types were employed in Javascript applications.
  • When dealing with large codebase, types can serve as documentation and makes it easier for newer developers to get started quickly.
  • Typescript allows you work with newer Javascript version syntax, without having you worried about whether they will work across older Javascript processors.
  • It makes it easier for you to detect errors quickly and make smooth changes while you refactor your code.
  • The community adoption and support is huge, compared to alternative type systems for Javascript. That makes it very easy to find solutions to problems you might be facing as you adopt Typescript.
  • The editor support is great, so you have features like autocomplete which speed up your development.
  • Migration to and from Javascript is super easy, since it is a superset of Javascript.

Adebayo Opesanya

Adebayo “Bayo” Opesanya is the Country Director of Node.js Nigeria (organizer of NodeConf NG), where he coordinates all the Node.js Nigeria local chapters in the country. When he isn’t writing code, he writes technical articles on Medium and also answers questions on Quora. He really enjoys reading history.