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

This is one of the reasons for the broad popularity of TypeScript, where “[specifying] in the contract of the function that it can return null” is foundational to the experience. Meanwhile thrown errors are unmodelable COMEFROM statements in TS and many other languages.


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

Search: