O'Reilly logo

Functional Programming: A PragPub Anthology by Michael Swaine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What It’s All About

The most important idea in modern functional programming is this:

It’s all about data.

Functional programmers put data first. We start by thinking about what kinds of data we have in a problem domain, and what kinds of transformations we want to perform on the data. Once we have a handle on this, we start building up the data structures and the code to do the transformations.

Functional programming is not all about coding with pure functions. What modern functional languages are about is developing ever-better tools to help in this data-first style of programming. It’s about providing easier ways to specify powerful data types, to manipulate them at a high level, to break them apart and recombine them, and to do all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required