The Eric Normand Podcast

Why Functional Programming Matters

Jul 13, 2020
Dive into the world of functional programming! Discover how higher-order functions and lazy evaluation serve as essential tools in simplifying complex code. Explore the historical impact of structured programming and its emphasis on modular design. Learn about the powerful foldR function for list processing and the benefits of referential transparency. Reflect on the advantages of functional programming in managing resources efficiently while critiquing common misconceptions. This discussion sheds light on the evolution of programming paradigms and their practical applications.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Power in Omission?

  • Omitting features cannot make a language more powerful.
  • Functional programming’s power lies in enabling new ways of modularization.
INSIGHT

Glue and Modularity

  • The way problems are decomposed depends on how solutions are combined.
  • New kinds of "glue" increase modularization possibilities.
ANECDOTE

Higher-Order Functions: foldR

  • Eric Normand explains how higher-order functions like foldR enable code reuse.
  • foldR generalizes list operations by replacing cons with a function and nil with a value.
Get the Snipd Podcast app to discover more snips from this episode
Get the app