- What is Typescript?
- Why Typescript?
- History of Typescript
- Features of Typescript
What is Typescript?
KEY DIFFERENCE BETWEEN THE TWO
- Open source project with the Microsoft’s patronage
- It is specially designed tool for small scripts
- It supports classes, interfaces as well as modules.
- Allows cross platform compilation
- Adds support for the classes, interfaces, and modules
- It is optionally typed scripting language
- Better code formation and structuring and object-oriented programming techniques
- Allows and enables for better development time tool support
- It can extend and prolong the language beyond the standard decorators, async/await
|Learning curve||Stiff learning curve. Requires and needs prior scripting knowledge.||Very flexible and easy to learn, scripting language.|
|Famous Company using the Technology||Asana, Clever, Screen award||Airbnb, Codecademy, Instagram|
- It’s a cross platform language
- It’s generally used for client side and server side
- It’s very easy to learn and to start with
- It’s a dynamic language: which means that it is more flexible and a lot more powerful
- You have ‘the great freedom’ to do whatever you wish to do with any object
- Strong Testing Workflow
- There are added Dependencies
- Framework Unsupported
Features of Typescript
- Offers great productivity for developers
- Code navigation along with a feature for bug prevention
- Code ‘discoverability’ and also refactoring
- Optional Static Type Annotation or Static Typing
- Additional Features for the Functions
- It supports ES6
- Supports the interfaces, sub-interfaces, classes, as well as subclasses
- Scalable HTML5 client-side development
- Rich IDE available with the auto-complete and code navigation features.
- Class-based object-oriented programming language with the inheritance of private members and interfaces.