3min chapter

Happy Path Programming cover image

#75 Haskell "Not as Scary as You Think" with Kris Jenkins

Happy Path Programming

CHAPTER

Code Reuse Is a Big Value of Functional Programming

In typical OO, there's really only one thing you can express is I have these methods. And the methods are specific to that particular data structure attached to it. That kind of dance doesn't really exist in Haskell because it gets implemented by the library author once if they even need to care. But ask what gives you a lot of stuff for free as a user, as a library author, and sooner or later in your own project,. You're both because you're writing functions that you're calling.

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