34

do {
try
} catch {
// This block probably never gets called.
}

"BOYYYYY, WAS I WRONG"

Comments
  • 9
    (Raises hand enthusiastically) "Oh! Oh! Teacher! Teacher!!! Pick Me! Pick me! I KNOW THIS ONE!!!!"

    OkayIfEmptyObject mostThings;

    try{

    mostThings = trivialWhatever.getAnOkayIfEmpytObject(fromWherever);

    }

    catch(NullPointerException npe){

    mostThings = new OkayIfEmptyObject();

    }

    finally{

    timeWastedDueToBoilerplateBullshit++;

    willToContinueThisProject--;

    }
  • 1
    @MobiusDerp catching NPE is stupid.
Add Comment