

3·
4 months agoThis is like Dalinar and the fighting master from Stormlight Archive.
This is like Dalinar and the fighting master from Stormlight Archive.
Yeah. Commits going right to prod makes my skin crawl.
Took me a while to track it down, but I think this is the book to which you were referring.
https://angryflower.com/348.html
I make no cleans about the stances of this artist; I just saw this strip years ago.
You can set up a global exception handler in some frameworks. By having multiple (not a crazy amount) of exceptions, you can set up logic for how to handle that kind of error. Then you can just throw the exception instead of writing individual catch blocks.
This is especially helpful in things like a REST API where user input can cause all kinds of fun, let alone network issues, problems with your data source, etc.