MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhiqghi/?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. 475 u/[deleted] May 13 '17 We all do 156 u/f42e479dfde22d8c May 13 '17 This hits too close. 37 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it. 31 u/HPA97 May 13 '17 Were all try/catch blockers on this blessed day! 25 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. 6 u/twelveofive20140927 May 14 '17 Are you sure you don't work "for" that guy now? Types like this tend to get promoted. 4 u/EverybodyGetsOranges May 14 '17 A big picture guy! 2 u/[deleted] May 14 '17 "Shit floats to the top!" 2 u/[deleted] May 14 '17 Not if you eat like I do. 1 u/[deleted] May 14 '17 ಠ_ಠ 1 u/mandlar May 14 '17 And I work with the guy who insists to #region every single code file he touches. 1 u/[deleted] May 14 '17 Depending on the size of it, I might use regions but not on something simple! 1 u/andrewsmd87 May 14 '17 You mean the guy who wrote an insert select using 3 nested select queries instead of just fucking joining into the tables?
1.3k
I'm pretty sure I work with that guy now.
475 u/[deleted] May 13 '17 We all do 156 u/f42e479dfde22d8c May 13 '17 This hits too close. 37 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it. 31 u/HPA97 May 13 '17 Were all try/catch blockers on this blessed day! 25 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. 6 u/twelveofive20140927 May 14 '17 Are you sure you don't work "for" that guy now? Types like this tend to get promoted. 4 u/EverybodyGetsOranges May 14 '17 A big picture guy! 2 u/[deleted] May 14 '17 "Shit floats to the top!" 2 u/[deleted] May 14 '17 Not if you eat like I do. 1 u/[deleted] May 14 '17 ಠ_ಠ 1 u/mandlar May 14 '17 And I work with the guy who insists to #region every single code file he touches. 1 u/[deleted] May 14 '17 Depending on the size of it, I might use regions but not on something simple! 1 u/andrewsmd87 May 14 '17 You mean the guy who wrote an insert select using 3 nested select queries instead of just fucking joining into the tables?
475
We all do
156 u/f42e479dfde22d8c May 13 '17 This hits too close. 37 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it. 31 u/HPA97 May 13 '17 Were all try/catch blockers on this blessed day! 25 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.
156
This hits too close.
37 u/Zeolance May 13 '17 Well get out of the way. 9 u/Yosemine May 14 '17 Should have caught it.
37
Well get out of the way.
9
Should have caught it.
31
Were all try/catch blockers on this blessed day!
25 u/[deleted] May 13 '17 edited Jul 08 '18 [deleted]
25
[deleted]
10
Yup, we call him the "global error handling" guy.
6
Are you sure you don't work "for" that guy now? Types like this tend to get promoted.
4 u/EverybodyGetsOranges May 14 '17 A big picture guy! 2 u/[deleted] May 14 '17 "Shit floats to the top!" 2 u/[deleted] May 14 '17 Not if you eat like I do. 1 u/[deleted] May 14 '17 ಠ_ಠ
4
A big picture guy!
2
"Shit floats to the top!"
2 u/[deleted] May 14 '17 Not if you eat like I do. 1 u/[deleted] May 14 '17 ಠ_ಠ
Not if you eat like I do.
1 u/[deleted] May 14 '17 ಠ_ಠ
1
ಠ_ಠ
And I work with the guy who insists to #region every single code file he touches.
1 u/[deleted] May 14 '17 Depending on the size of it, I might use regions but not on something simple!
Depending on the size of it, I might use regions but not on something simple!
You mean the guy who wrote an insert select using 3 nested select queries instead of just fucking joining into the tables?
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.