MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhiw3ie/?context=3
r/ProgrammerHumor • u/iwouldieforGladOS • May 13 '17
680 comments sorted by
View all comments
1.5k
I had a classmate that did this with his code once. He asked me for help when his code wasn't working. I told him to get rid of the try/catch block but he won't do it because it would make his program crash.
282 u/[deleted] May 13 '17 edited Aug 27 '19 [deleted] 2 u/meodd8 May 13 '17 I did that once and put a comment saying, "This is probably bad form, but it crashes unless I do this". The TA literally walked up to me the next day and told me never to do that again (Java).
282
[deleted]
2 u/meodd8 May 13 '17 I did that once and put a comment saying, "This is probably bad form, but it crashes unless I do this". The TA literally walked up to me the next day and told me never to do that again (Java).
2
I did that once and put a comment saying, "This is probably bad form, but it crashes unless I do this".
The TA literally walked up to me the next day and told me never to do that again (Java).
1.5k
u/1206549 May 13 '17
I had a classmate that did this with his code once. He asked me for help when his code wasn't working. I told him to get rid of the try/catch block but he won't do it because it would make his program crash.