60
Why I Prefer Exceptions to Error Values
(cedardb.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I was making a shared library at work and was recently asked to start throwing exceptions, because the users wouldn't care to check my returned error and just continue with the empty returned data.
Well, now they will most probably have an empty catch block and continue doing what they did before.
Nothing can fix a lazy worker.
Anti Commercial-AI license