Hacker News new | ask | show | jobs
by cehrlich 1362 days ago
TypeScript is the best thing to happen to web dev, and it keeps getting better. My only gripe is that sometimes in a codebase that is heavy on inferred types I need to restart the TS server occasionally. Nonetheless, unless there is a specific requirement that TS isn't the right choice for, it's the language I reach to for everything.
1 comments

Do you have interests beyond the JS world? TypeScript being the best thing to happen to web dev sounds a bit hyperbolic.
There are a lot of other great languages, but none of them run in the browser. Once you know that your frontend is in TS, there are a lot of advantages to writing the BE in it also. Like I said, there are exceptions, but it has become my default.
The vast majority of web apps have JS on the front end. It's not even close.