#TypeScript #JavaScript #Java #JavaDevelopment #JavaApplications #MobileApplications #Node.js #APIs #Web Development

TypeScript is a free and open-source programming language developed and maintained by Microsoft. It is a language for application-scale JavaScript development. It is a typed superset of JavaScript that compiles to plain JavaScript. It adds optional static typing and class-based object-oriented programming to the language. TypeScript is designed for development of large applications. It does not require any kind of runtime library to support it.

Javascript may become frustrating because of lack of strong types, static type checking, clean interfaces etc. A substitute of Javascript is a difficult task, since every browser in the world and embedded browsers need to now understand whatever is the new substitute. Instead, Microsoft developed a helper abstraction over Javascript called Typescript. It compiles into clean Javascript.

 

More about Typescript

  • Type Script files are compiled into plain old Java Script so that they can run on anything that JS can.

 

  • It is compiled rather than an interpreted language. Developers can find errors with greater precision before the code actually run.

 

  • The type system is probably a little surprise. The static typing allows it to perform many advanced refactoring operations such as global renaming, reference searching and code completion.

 

  • By enforcing a certain degree of correctness at the compile time, the static type system improves the code by making it easier to read.

 

  • It can use both interfaces and classes and this feature  results in giving shorter, easier to read and easier to debug code than the prototypes used by JS.

 

  • Excellent editor integration. Once we add a few annotations, within seconds editor starts to light up with potential errors and suggestions.

 

  • An insight into the existing behavior of the java script libraries can be gained as it allows the developers to define interfaces between software components.

 

  • It is organized in an object oriented way, which makes it easier for OO programmers to use.
Share This :

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>