Chapter 1

Concepts of Functional Programming

There is no universally accepted definition of functional programming, but all can agree that it involves programming with functions. This chapter is an overview of some of the characteristics of a functional programming style. It argues that these characteristics all are, with varying degrees, a consequence of choosing to program in terms of functions.

1.1 What Is Functional Programming?

The idea of programming with functions is not new. The concepts behind functional programming have been around since at least the programming language Lisp (late 1950s), or even since λ-calculus (1930s) at a more theoretical level. In recent years, concepts of functional programming have seeped from truly functional ...

Get Functional and Concurrent Programming: Core Concepts and Features now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.