Coding Blocks cover image

Clean Code – Error Handling

Coding Blocks

00:00

Try Catch

I kind of like to keep, i guess i am more of a strong opinion. I'd rather keep the try catch in there than spin up another method that says, hey, try this business flow. Do one thing. As long as you're keeping your business flow in your try, in your try block, and youre in your exception handling in your catch, i think that's perfectly fine. And then they were basically talking about t d, hay, go in and do this... They said, also when you write unit test first, and then write your unit test so that  you can check for those exceptions and catching them with tests.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app