Chapter 2. Core concepts in functional programming

This chapter covers

  • Understanding concepts and foundations
  • Programming with immutable data
  • Reasoning about functional code
  • Working with functional data types and values

If you ask three functional programmers what they consider the most essential aspect of the functional paradigm, you are likely to get three different answers. The reason is that functional programming has existed for a long time and there’s a wide range of diverse programming languages. Every language emphasizes a different set of aspects while giving less importance to others. Most of the concepts are to some extent present in all functional languages.

The central part of this chapter focuses on these common ideas, exploring ...

Get Real-World Functional Programming with Examples in F# and C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.