9min chapter

Legacy Code Rocks cover image

Legacy in Functional Programming With Eric Normand

Legacy Code Rocks

CHAPTER

Reasoning and Control in Functional and Object-Oriented Programming

This chapter explores the differences in reasoning and control between functional programming (FP) and object-oriented (OO) programming, highlighting how FP encourages concurrency and message passing while OO focuses on long-living objects. It discusses language design issues, distinguishing between pure functions and code with varying effects, and the concept of side effects and managing them using the IO type. Additionally, it delves into the concept of actions and their spread throughout a function, mentioning the book 'Grocking Simplicity' and concluding with a discussion on legacy code.

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