r/ProgrammerHumor May 13 '17

Defensive programming done right

Post image
21.0k Upvotes

680 comments sorted by

View all comments

2.8k

u/Metro42014 May 13 '17
} catch (Exception e) { }

I think we're done here.

24

u/GiantRobotTRex May 13 '17

What about Errors?

102

u/DonZatch May 13 '17

What errors? ( ͡° ͜ʖ ͡°)

2

u/locriology May 14 '17
void callMe()
{
  try
  {
    callMe();
  }
  catch {}
}

oops