Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
plusgut60377yLooks 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. -
A1rPun2197ytry
crossTheRoad()
catch(e)
stabilizeSituation()
finally
pickupSomeRandomThingOnTheGround() -
This happened in my country some months ago. I remember everyone was talking about this gif.
Related Rants
True exception handling be like...
undefined
fuck that i'm out
exception handling