18

Just saw this in a production app. There's a reason no other language implemented VB's OnErrorResumeNext, BECAUSE IT'S A F***ING TERRIBLE IDEA.

Catch (exception e)
{
//not really an issue
Continue;
}

Comments
  • 2
    That bit of code is everywhere in our production applications.

    One team even wrote a bug fix request for my code because I had the audacity to report an error to the user and "force" them to make a decision.

    Mentality of "Why show the user an error if they can't do anything about it?" runs amok here.
Add Comment