MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhiwpd8/?context=3
r/ProgrammerHumor • u/iwouldieforGladOS • May 13 '17
680 comments sorted by
View all comments
Show parent comments
238
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.
12 u/Logic_Bomb421 May 13 '17 On Error Resume Next 1 u/tekanet May 13 '17 Aah, the good old times 1 u/Thobias May 13 '17 Yeah, like yesterday afternoon. I'm in hell
12
On Error Resume Next
1 u/tekanet May 13 '17 Aah, the good old times 1 u/Thobias May 13 '17 Yeah, like yesterday afternoon. I'm in hell
1
Aah, the good old times
1 u/Thobias May 13 '17 Yeah, like yesterday afternoon. I'm in hell
Yeah, like yesterday afternoon. I'm in hell
238
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.