Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try fixing the problems


That is exactly what is taking 99.99+% of the development time. Fixing the problems with typescript. My JS code has no issues.


Your original question of "does typescript get better?" can be rephrased as "does any tool become easier to wield with greater/better understanding?" and the answer is "yes".

Without a [concrete] example of what type of issues you faced, I doubt anyone can give you actionable advice, though.

> My JS code has no issues.

Either the types were wrong, or the code was wrong, either way there is an issue. Since you said you're inexperienced with typescript, it's possible the types were erong.

There are certain JavaScript patterns where TypeScript can be a bit inexpressive/unergonomic (especially with a lot of "metaprogramming" or "runtime polymorphism"[1] involved).

[1]: Most of the cases in our company the difficulty of expressing some types of "runtime polymorphism" was what I call thoughtless polymorphism (ie, it usually hides runtime errors that you're unaware of, especially if there's a proliferation of `anys`s in the code)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: