Uncle Bob! I'm stoked to see that you're on Nostr. I've been assigned to do a presentation for my job on Clean Code, chapter 7 (error handling). Anything you would change or add now, 15 years later? I thought that the API wrapper example may be less relevant in languages where you can catch multiple exception types in a single catch.

Thanks! 🫡

Reply to this note

Please Login to reply.

Discussion

As a matter of fact I just finished writing some API wrappers for more-speech in clojure. No, I don't think there's much I'd change. Language features can sometimes soften some of the rules; but the rules ought to be language agnostic in most cases.

Have fun with your presentation!