TypeScript is Overrated
Why JavaScript may still be your best bet
The TypeScript language was released in 2012. It is nothing else than a JavaScript superset. It only start to take off a few years later. Since then, it has then been growing at an overhyped pace.
It does bring some useful features to the JavaScript Ecosystem. However, are those enough to make us buy-in? What are the cons that nobody is talking about? Should you care about those?
In this article, I will unveil the less bright picture of TypeScript and expose some reasons why you might want to rethink it twice before using it in your next project. We will look at the top 5 reasons you might reconsider its usage.
1. Clutters your codebase
When using TypeScript we add a lot of verbosity to our codebase. By using clearer arguments and method names our codebase should already be self-explanatory. We don’t need any dummy type checking.
The below method is super easy and readable.