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

For me the primary purpose of TypeScript is to give my editor information about interfaces so I don’t have to do the menial back and forth of accidentally making a typo in a function name, object param, etc.

I find myself using less type hints in Python because the story for REPL driven development is so much better than JavaScript, and that takes most of the pain away.



Giving the editors hints in this case is very expensive.


It is, but it’s worth it in some situations.

It’s so much easier to sit down to an unfamiliar codebase, or to participate in a team of more than three or four serious contributors, when typescript is there to guide you.

I never would have guessed that that would be the benefit that won me over, but it absolutely has, all it took was a two year / six people project to completely sell me on typescript.




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

Search: