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

To be fair, there's utility to avoid it: check first or do a .get(). That helps you be expressive about what you think should/should not exist


I can definitely see the use in that. In some situations a given key not being present would actually be exceptional.




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

Search: