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

> convincing someone that their excessive null checking is harmful is an uphill battle.

The argument that seems to hit home more often than not is that optionals effectively “fork” the state space, the possible states your program can be in. And the larger the state space is, the harder it is to reason about the code and maintain it. That’s actually part of what make undesirable states un-representable means.



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

Search: