![]() Modularity – It helps make the code more modular.It also provides encapsulation, inheritance and modifiers. Class Based Objects – Another huge advantage is the use of Classes which provides the ability to use true object oriented programming in our applications and prevents use of prototype based objects.Also helps make code more readable and descriptive. It is completely Optional and helps us find and prevent bugs. ![]() With TypeScript, we can check and assign variables, parameters and function types. Although static typing requires some extra steps while writing code but it has its own advantages. TypeScript does provide static type checking unlike JavaScript.
0 Comments
Leave a Reply. |