TypeScript Philosophy
In this lesson, we will see TypeScript's philosophy and discuss the goal of the language.
We'll cover the following...
TypeScript has well-documented design goals that inspire developers who use it to follow its overarching philosophy.
The main point is to identify the construct that will produce a runtime error.
Secondly, TypeScript’s goal is to provide a structuring mechanism that can scale to a large codebase. JavaScript can be difficult to maintain with a large number of different developers and a substantive amount of code. This second goal embraces the first one which allows modification and being notified of potential issues as quickly as possible. Types also self-document the code and conscribed potential values to specific variables.
The third goal is to not impose overhead on the produced ...