Dear Java, - Ivo Georgiev
Profile

last week

last 3 months

last 6 months

last year

overall

6
notes
2012 February 15

Dear Java,

I don’t want to catch your exceptions. I’d rather have my program crash and burn with a segfault (1), but I’m not wrapping every piece of code in try-catch. Do or do not crash, there is no try.

(1) - not possible with automatic memory management but a great figure of speech.

#java #programming
  1. programmingthomas said: I now have shortcuts set up in most of my editors to add in the try{}catch{} code because I get so bored of writing it. I had about thirty lines of code that had to be surrounded by about ten try{}catch{} blocks because of different Exception types.
  2. ivogeorgiev posted this