Comment by gregmac
5 months ago
It's a sign of bad code.
Yeah state is hard, but "else" statements are a thing. Even if a state is not "expected" if the system can represent it, it should be treated as possible.
Crash if you have to, but don't do unexpected things or just stop executing.
No comments yet
Contribute on Hacker News ↗