hwang26 / mock-crud-app

0 stars 0 forks source link

Analysis: Typescript #13

Closed hwang26 closed 3 years ago

hwang26 commented 3 years ago

Do research into whether using Typescript would benefit the organization of this project.

hwang26 commented 3 years ago

Analysis

The main benefit of Typescript and indeed its design seems to be the optional static typing and class based syntax that the language provides. This syntactical sugar is also being implemented in JS proper, but seems to have an established base in Typescript.

Having static types and class-based programming seems to make Javascript more familiar to programmers with experience in languages such as Java, but also helps with catching errors related to type.

For now, we can defer learning Typescript since we don't want to add anymore to our current project, but it might be useful for a future project.