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

JavaScript isn't even statically typed.

> Why not cast to a non-undefined type as soon as we're sure (and throw if it is not)

This is exactly what the OP author suggests.



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

Search: