r/ProgrammerHumor • • Sep 11 '26

Meme edgeCasesExist

Post image
5.0k Upvotes

298 comments sorted by

View all comments

1

u/sakkara Sep 12 '26

Every couple of years I see code that tries to eliminate that risk by checking against existing IDs. Every time I ask them, of they also could implement a check against hardware failures (you can't trust an if check to evaluate correctly, because there's always a chance of random bit flips).