Table of Content
What is Typescript?
- It was launched in September 1995, and It took just ten days to develop this scripting language which was initially called Mocha
- Add extension named Intents Extension
- ECMAScript 2 was released in 1998
- ECMAScript 3 was released in 1999
- In 2005, Eich and Mozilla join ECMA to develop E4X Java script
- In January 2009, the CommonJS project was launched with the aim of defining a common standard library
- In June 2011, ECMAScript 5.1 was released
- In June 2015. ECMAScript 2016 was released
- The current version is ECMAScript 2017 which was released in June 2017
History of Typescript
Let’s see important landmarks from the History of Typescript:
- The typescript was first made public in the year 2012
- After two years of internal development, Typescript 0.9, released in 2013 at Microsoft.
- Additional support for generics Typescript 1.0 was released at Build 2014
- In July 2014, a new Typescript compiler came which is five times faster then it's previous version
- In July 2015, support for ES6 modules, namespace keyword, decorators added in Typescript
- In November 2016, an added feature like key and lookup types mapped types, and rest added in Typescript
- On 27 March, 2018 conditional types, the improved key and it’s intersection types supports added in the Typescript.
- It is a cross-platform language.
- It is used for client side and server side.
- It is a flexible, powerful and dynamic language.
- It has huge active community of developers which makes it more popular language.
- It has extension of .js
- It has Strong Testing Workflow.
- Added Dependencies.
- It is a light weight and interpreted programming language.
Features of Typescript
- It supports Static Typing.
- It supports optional parameter function.
- Better choice for large coding projects.
- Offers great productivity for developers.
- It is specially used in Client side.
- It has extension of .ts and .tsx.
- Code navigation and bug prevention.
- Code 'discoverability' & refactoring
- Additional Features for Functions
- Supports interfaces, sub-interfaces, classes, and subclasses
- Scalable HTML5 client-side development
- Rich IDE available with autocomplete and code navigation features.
- Class-based object-oriented with the inheritance of private members and interfaces.
- Typescript is a strongly type object oriented compile language.
Conclusion: Who is better?