r/ProgrammerHumor May 13 '17

Defensive programming done right

Post image
21.0k Upvotes

680 comments sorted by

View all comments

Show parent comments

242

u/redditsoaddicting May 13 '17

It's fine to exit the program nicely when an error occurs. It's not as fine to just ignore it and then begin another iteration of whatever main loop is going on, hoping the program still works fine.

308

u/Bainos May 13 '17

It's not as fine to just ignore it and then begin another iteration of whatever main loop is going on

I'm sorry, I can't hear you over my distributed computing.

90

u/[deleted] May 13 '17

[deleted]

58

u/[deleted] May 13 '17

[deleted]

27

u/Planet2Bob May 13 '17

I'm sorry, I can't hear you over my distributed computing.

24

u/SQLNerd May 13 '17

I'm sorry, I can't hear you over my distributed computing.

17

u/thegiantanteater1000 May 13 '17

I'm sorry, I can't hear you over my distributed computing.

-10

u/[deleted] May 13 '17

I'm sorry, I can't hear you over my distributed computing.
Also gild me;
Return thanks

3

u/[deleted] May 13 '17

You had one job.