This tutorial was made by Stephen Rodriguez — you can follow him on Twitter!
Code editors like VS Code make it easy to begin using Typescript today and provide a broad range of documentation and tools to ease use. I strongly recommend taking a look at the Typescript homepage to learn more about what is Typescript and how you can begin using it today.
Why TS and not other strongly-typed language like Flow or Better.js?
Of course, there are other options out there but would coding be fun if there were no competitors? Thus, we need to focus on what problem all of these languages are trying to solve. At Thinkster, we believe that Typescript, amongst its competitors, has proven itself to be the right tool for this problem. The problem can be described as the following:
What is a Transpiler?
In short, a Transpiler is a tool that converts code from one source language to another. Transpilers, also known as “source-to-source” compilers, are not the same as compilers. Compilers are something that have been around for ages. The purpose of a compiler is to convert higher-level languages like Java into lower-level languages like Assembly. A Transpiler on the other hand, is not like this at all. Their primary focus is not to convert, but rather to interpret.