Hacker News new | ask | show | jobs
by babbledabbler 1717 days ago
It depends on what you are comfortable and familiar with and what your business related goals and deadlines are.

TypeScript in the long run is better as it will help ensure that the data flowing through your application is consistent, however, there is an upfront cost to learning to work with types that is not trivial. It will initially slow things down as you grapple with the stricter syntax and the tooling around it. For POCs if you are not an experienced programmer, this will likely add a lot of friction. Keep in mind though that when your application reaches a certain level of complexity, the cost of not having TS starts to exceed the cost of using TS. A good rule of thumb I go by is to try to pick up 1 new technology per project/sub-project. Hope this helps!