
Clean Code – Error Handling
Coding Blocks
00:00
The Problem With Return Codes for Credit Card Processes
If you have a bunch of it mixed in with your business logic or the flow, to where you can't actually see the flow, then then you've definitely gone somewhere that you shouldn't be. And especially if you have that baked several times in your method, because maybe you're already not following one of the previous chapters about short methods. That was a direct result of this next bullet point that we have, which was, if you're using return codes as opposed to exceptions, that's how you get into that nastiness.
Transcript
Play full episode