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

yeah, trivial annoyances like

   AttributeError: 'NoneType' object has no attribute 'method'
when you just don't expect it.


Right - this trivial annoyance, the Python equivalent of a NullPointerException, is not actually prevented by the static type system in Java and some other popular static languages. (Kotlin does prevent it, though!)


Just to clarify, I'm using trivial here in the technical sense.

YMMV on what counts as trivial to you, of course, after three days straight tearing your hair out!




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

Search: