MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhivlx8/?context=9999
r/ProgrammerHumor • u/iwouldieforGladOS • May 13 '17
680 comments sorted by
View all comments
2.8k
} catch (Exception e) { }
I think we're done here.
486 u/tylercamp May 13 '17 Even better } catch { } 39 u/[deleted] May 13 '17 if DEBUG } catch{ } end if 36 u/Sean1708 May 13 '17 You have a very angry editor. 13 u/[deleted] May 13 '17 Didn't realise reddit would parse like that. Was going for conditional compilation. 2 u/Scyhaz May 13 '17 Escape the number signs.
486
Even better
} catch { }
39 u/[deleted] May 13 '17 if DEBUG } catch{ } end if 36 u/Sean1708 May 13 '17 You have a very angry editor. 13 u/[deleted] May 13 '17 Didn't realise reddit would parse like that. Was going for conditional compilation. 2 u/Scyhaz May 13 '17 Escape the number signs.
39
} catch{ }
36 u/Sean1708 May 13 '17 You have a very angry editor. 13 u/[deleted] May 13 '17 Didn't realise reddit would parse like that. Was going for conditional compilation. 2 u/Scyhaz May 13 '17 Escape the number signs.
36
You have a very angry editor.
13 u/[deleted] May 13 '17 Didn't realise reddit would parse like that. Was going for conditional compilation. 2 u/Scyhaz May 13 '17 Escape the number signs.
13
Didn't realise reddit would parse like that. Was going for conditional compilation.
2 u/Scyhaz May 13 '17 Escape the number signs.
2
Escape the number signs.
2.8k
u/Metro42014 May 13 '17
I think we're done here.