Happy Path Programming cover image

#35 The Pattern of Design Patterns

Happy Path Programming

CHAPTER

The Importance of Error Monads

The goal was for all of the exception handling overhead to be put when to only happen when the exception is thrown. In Python, there are like in the for loop, they use an exception to indicate that you're in at the end of a for loop. Well, we'd never want to do that in in C++ because all of the overhead is on exception handling. And so once it's set up, you have this nice syntax that is much more understandable than if you had.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner