Coding Blocks cover image

Clean Code – How to Write Amazing Functions

Coding Blocks

00:00

I Love Exceptions, I Love Catching

Your try should be the very beginning of the method, and your catch, or finally, or whatever, should be the end. I don't want a bunch of people catching and trying to make decisions along the way. Woare dealing with third parties, don't cover it up. Toss it up, and i will deal with it at the appropriate level of abstraction for my specific purpose. So by ono, then that's where you catch like, one of joe's 15 exceptionsyes. Well, they're all just regular exceptions though.

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