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

Isn't that TypeScript or more generically "type hints" in other languages? If all you care about is that your program is valid for some gradually increasing subset of your code at compile time then these work great.


I was envisioning a system or some other compiled language, but you’re right. I overlooked Typescript and it indeed comes close.


i don't do javascript, but I know from experience adding const to c++ is impossible I expect the similar for types




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

Search: