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

I hadn't thought of that sort of static analysis. I would guess that the most common variation of using "is" on integers is comparing to a literal ("if x is 3"), so conceivably the bytecode compiler could warn about that without even needing annotations.


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

Search: