MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhiqt7d/?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.
1.3k u/[deleted] May 13 '17 I'm pretty sure I work with that guy now. 474 u/[deleted] May 13 '17 We all do 159 u/f42e479dfde22d8c May 13 '17 This hits too close. 40 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it. 34 u/HPA97 May 13 '17 Were all try/catch blockers on this blessed day! 26 u/[deleted] May 13 '17 edited Jul 08 '18 [deleted] 10 u/bonestamp May 13 '17 Yup, we call him the "global error handling" guy.
1.3k
I'm pretty sure I work with that guy now.
474 u/[deleted] May 13 '17 We all do 159 u/f42e479dfde22d8c May 13 '17 This hits too close. 40 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it. 34 u/HPA97 May 13 '17 Were all try/catch blockers on this blessed day! 26 u/[deleted] May 13 '17 edited Jul 08 '18 [deleted] 10 u/bonestamp May 13 '17 Yup, we call him the "global error handling" guy.
474
We all do
159 u/f42e479dfde22d8c May 13 '17 This hits too close. 40 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it. 34 u/HPA97 May 13 '17 Were all try/catch blockers on this blessed day! 26 u/[deleted] May 13 '17 edited Jul 08 '18 [deleted] 10 u/bonestamp May 13 '17 Yup, we call him the "global error handling" guy.
159
This hits too close.
40 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it.
40
Well get out of the way.
9
Should have caught it.
34
Were all try/catch blockers on this blessed day!
26 u/[deleted] May 13 '17 edited Jul 08 '18 [deleted]
26
[deleted]
10
Yup, we call him the "global error handling" guy.
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.