Why do functional programmers model things as data?

The Eric Normand Podcast - A podcast by Eric Normand

Categories:

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.