Re:Ask HN: Why do interviewers hate anti-TypeScript opinions?
by satvikpendem on Wednesday July 10, 2024 @12:46PM
(#40928797)
TypeScript is also incrementally adoptable, not sure how you were able to add JSDoc comments for types to a function for example while also being unable to convert that same function to TypeScript. JSDoc is strictly less powerful than TypeScript in general. For example, more complex types as well as template literal types are impossible to have in JSDoc. It is simply more ergonomic to use TypeScript instead of JSDoc, and therefore, I stand by my snap decision.
And prior to my current role I've used TS in production too.
Your response is exactly the sort of snap decision that I might have experienced.
And it's one that I find confusing in light of passion for type safety and type checking.