2min chapter

Happy Path Programming cover image

#35 The Pattern of Design Patterns

Happy Path Programming

CHAPTER

The Benefits of Airmonads

The main difference I think is that in airmonads, your return value has the error or the success value in it. And so that's conveyed through the type system, whereas exceptions are not part of the type system. So for me, just airmonads are so much better than dealing with exceptions because it's in the type system and then I can do all the wonderful type system things on those. You can even transform them so you can say, all right, I can recover from this air.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode