Introduction to TypeScript

Profile picture for user arilio666

Javascript is a famous scripting language that is now trending among developers but what if I say there is another, Yes there is another trending language called Typescript.

But what is it? Should you be concerned? What features does it have that Javascript doesn't? should I be scared?

Well, to simply put it:

  • Typescript is a fairly new programming language that was released in 2012 by Microsoft.
  • Ever since that, it has become quite popular among the developers cult.
  • It has taken over a ton of front-end work for large applications.
  • After all, it is an enhanced version of Javascript.
  • The nice thing about Typescript is that it's actually completely, pretty much interchangeable with JavaScript. Yes, it is that easy to take the code and use it in Javascript flexibly.

Limitations Of Typescript:

  • Although TypeScript has some of its pros which will awe the users it also has some cons one of them is it is sometimes too complicated to use properly.
  • Another con is that typescript requires compilation while js doesn't need that.
  • Another one is that some developers think that typescript is bulletproof that it helps with type checks and gives feedback but to note it only gives that during compilation.
  • After that we are facing pure javascript which doesn't do that, this means we can still encounter bugs that the compiler can't find.