Книга: Functional Programming in JavaScript
Назад: Summary
Дальше: Functional programming languages

Chapter 2. Fundamentals of Functional Programming

By now, you've seen a small glimpse of what functional programming can do. But what exactly is functional programming? What makes one language functional and not another? What makes one programming style functional and not another?

In this chapter, we will first answer these questions and then cover the core concepts of functional programming:

  • Using functions and arrays for control flow
  • Writing pure functions, anonymous functions, recursive functions, and more
  • Passing functions around like objects
  • Utilizing the , , and functions
Назад: Summary
Дальше: Functional programming languages

bsn
thank
Vesa Karvonen
I hope you don't mind, but I’d like to point you and your readers to my high-performance optics library for JavaScript that is in production use in multiple projects, has comprehensive support for partial optics and interactive documentation: https://calmm-js.github.io/partial.lenses/ (this takes a moment to load — be patient!)