The Eric Normand Podcast

What kind of software is functional programming not suited for?

Aug 26, 2019
Discover the surprising limitations of functional programming in various software applications. The discussion contrasts it with imperative and object-oriented paradigms, shedding light on misconceptions about state management. Delve into the unexpected uses of functional programming in embedded systems and GPU programming, showcasing minimalist languages like Rust and Futhark. The conversation also explores the flexibility of Clojure while addressing its inherent challenges, emphasizing the importance of state and side effects.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Paradigms as Worldviews

  • Programming paradigms are general-purpose approaches to software development, like a worldview.
  • They offer a starting point for problem-solving, not rigid rules.
INSIGHT

State in Functional Programming

  • Functional programming (FP) does involve state and side effects, despite some rigid definitions.
  • Practical FP uses actions to manage these elements, unlike pure functions.
ANECDOTE

Embedded Systems and FP

  • Eric Normand initially thought FP wasn't suited for embedded systems due to resource constraints.
  • Research revealed pared-down Scheme versions and Rust, proving FP's applicability.
Get the Snipd Podcast app to discover more snips from this episode
Get the app