Summary: Composition and Helper Functions
Review what we’ve learned in this chapter about functional programming in PHP.
We'll cover the following
-
Function composition is a means of creating complex software components from the fusion of deterministic functions.
-
Composing functions in either a traditional or point-free style makes it easy to write maintainable code.
-
Partial application and currying are compositional nuances that allow for the handling of function arities by spawning new functions.
Get hands-on with 1400+ tech skills courses.