Functional Programming in PHP

While Drupal 8 has gone all in on Object-Oriented Programming, Drupal developers can benefit from understanding Functional Programming concepts and can apply those concepts within their code.

In this session, you will learn some of the basic principles of Functional Programming (for example: first-class functions, higher-order functions, partial application, and function composition) and their benefits while doing a deep-dive on PHP functions. You will also be exposed to PHP's built-in array functions (like array_filter, array_map and array_reduce) and learn why they are useful and how they could be improved.

Presenter(s):
Eric Ponto

https://2018.drupalcorn.org/session/functional-programming-php

Drupal is a registered trademark of Dries Buytaert.