35
Ma30h
7y

True exception handling be like...

Comments
  • 13
    He has deadlines and projects to finish, nothing can stop him
  • 2
    Wow... he just dealt with it
  • 2
    Looks like the exceptionhandling of php and I don't like it.
    Bubble the exception up and don't try to repair yourself by guessing what I was doing.
    This way I wonder why the motorcycle is not existent and why you are moving so slow. Or at least put out some warnings, but don't try as if nothing happened.
  • 2
    @plusgut exactly, put all of main in a try and not logging the catch
  • 3
    try
    crossTheRoad()
    catch(e)
    stabilizeSituation()
    finally
    pickupSomeRandomThingOnTheGround()
  • 3
    This happened in my country some months ago. I remember everyone was talking about this gif.
Add Comment