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

while I'm a fan of TypeScript and using type hints in Python from an autocomplete and linting perspective, I am curious...

... has either language leveraged these to better tell the CPU what to do? presumably for perf.



PHP does but the types actually mean something. If your types can be stripped out to make the program run, I have a hard time believing that there is any optimization occurring there.


python ignores type hints




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

Search: