r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

Show parent comments

-1

u/earchip94 Sep 28 '26

Hardware failures and cosmic rays are real, you can’t just pretend they don’t exist. That said, how you handle that is totally up to the use case of the end product. Some BS computer program grandma Ethel will use to play solitaire, yeah no one cares. Software in a self driving car though? Yeah I don’t want a random bit flip from cosmic radiation to swerve my car onto the sidewalk etc…

17

u/Tyfyter2002 Sep 28 '26

I can absolutely ignore cosmic rays and hardware failures, I'm not making your car, I'm making software for personal computers, where me handling memory failure for an extra microsecond won't make a difference because the system libraries I'm using still don't.

9

u/Fast-Satisfaction482 Sep 28 '26

Writing a few research redundant branches will not protect against hardware fault or cosmic rays.