The Eric Normand Podcast
Why do functional programmers model things as data?

Episode 62 · Season 1

Why do functional programmers model things as data?

The Eric Normand Podcast

14:29

About this episode

Functional programmers tend to prefer pure, immutable data to represent their domain. We talk about many of the benefits of such an approach. But we focus on one in particular: that good data representations can reduce complexity by reducing the number of if statements you need.

More from The Eric Normand Podcast

In this episode, I introduce the time lens, and I posit a law about representing time in complex domains.

10m

In this episode, I introduce the volatility lens, which seeks to help us write code that deals with a changing world.

18m

In this episode, I introduce the architecture lens, its questions, and its goal of modeling architectural domains to manage complexity.

24m

In this episode, I introduce the executable specification lens, its questions, and its goal of getting to runnable, testable code as quickly as possible.

15m