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
-
hexc11196yTry catch is one of those things I hate in programming. It really annoys me that so many APIs throw all sorts of potential errors then you are stuck nesting logic with try catches etc which makes the code look super fucking ugly and less readable. It feels like I'm just applying Band-Aids on top of one another whenever I have to use code that throws errors like file system/db stuff.
-
Kaji20976yI’ve never gotten them to work properly, so I just unit test thehell out of everything and have it factor in “unexpected” return types and how to respond to them.
Related Rants
😂😂😂
joke/meme
errors
code
catch
try