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

> It doesn't contribute to behavior at all

I agree that TypeScript, in and of itself, doesn't change the way the code executes. This is self-evident.

But the idea that that makes it simply "fancy documentation" is hilarious. I have never seen documentation that can tell you at compile-time how your code will behave, it's fundamentally stupid to argue that static type checking is in any way comparable with documentation



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

Search: