typescript

The main characteristics of TypeScript are the following:

Javascript superset: TypeScript is a language built on top of Javascript, so all Javascript code is valid TypeScript code. In addition, any TypeScript code will be executed in the same way as that Javascript code would, keeping the characteristics of the Javascript language without altering it.

Compile to Javascript: TypeScript does not run on devices or browsers. Instead, TypeScript must be compiled to Javascript before it can run on any platform. So anywhere you can use Javascript you can also use TypeScript.

typed language: TypeScript brings static data types on top of Javascript. Data types are only useful at development time, helping the programmer to detect potential errors early. Once compiled, any data types are removed, since in Javascript, the language it compiles into, there are no data types. You can therefore understand TypeScript as Javascript with a compile-time type checking utility.

Modern and constantly evolving language: Since TypeScript is not a standard dependent on a standardization organization like Javascript, it is capable of evolving rapidly, providing constant innovations or features of the most modern languages.

See also  Design patterns
Loading Facebook Comments ...
Loading Disqus Comments ...