Hacker News new | past | comments | ask | show | jobs | submit login

The way I think about this is that type computations can be used both for type constraint checking and for code generation. In that sense, C++s template metaprogramming system is a superset of TypeScript's, which can only do checks as you pointed out correctly.



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

Search: