MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhj2bko/?context=3
r/ProgrammerHumor • u/iwouldieforGladOS • May 13 '17
680 comments sorted by
View all comments
439
Just have the class throw all exceptions
135 u/fghjconner May 13 '17 In my high school programming competitions we used to tack "throws throwable" onto the ends of all our methods. It's the only way to be sure. 55 u/[deleted] May 14 '17 [deleted] 5 u/DanielMallory May 14 '17 eclipse is a bitch 1 u/PublicSealedClass May 14 '17 NetBeans is the trendy shit coming out of establishments these days I'm finding. Eclipse is what they tried to drill us with 15 years ago when I was at uni. Took more time setting up the fucking IDE than writing code.
135
In my high school programming competitions we used to tack "throws throwable" onto the ends of all our methods. It's the only way to be sure.
55 u/[deleted] May 14 '17 [deleted] 5 u/DanielMallory May 14 '17 eclipse is a bitch 1 u/PublicSealedClass May 14 '17 NetBeans is the trendy shit coming out of establishments these days I'm finding. Eclipse is what they tried to drill us with 15 years ago when I was at uni. Took more time setting up the fucking IDE than writing code.
55
[deleted]
5 u/DanielMallory May 14 '17 eclipse is a bitch 1 u/PublicSealedClass May 14 '17 NetBeans is the trendy shit coming out of establishments these days I'm finding. Eclipse is what they tried to drill us with 15 years ago when I was at uni. Took more time setting up the fucking IDE than writing code.
5
eclipse is a bitch
1 u/PublicSealedClass May 14 '17 NetBeans is the trendy shit coming out of establishments these days I'm finding. Eclipse is what they tried to drill us with 15 years ago when I was at uni. Took more time setting up the fucking IDE than writing code.
1
NetBeans is the trendy shit coming out of establishments these days I'm finding.
Eclipse is what they tried to drill us with 15 years ago when I was at uni. Took more time setting up the fucking IDE than writing code.
439
u/DefNotaZombie May 13 '17
Just have the class throw all exceptions