About this talk
This talk explores the complexities of using for() and foreach() loops in PHP, addressing how they can lead to inconsistent and unintuitive code. The speaker delves into functional programming concepts that enhance code clarity and promote better separation of concerns, covering essential techniques like map, reduce, filter, and collection pipelining. Through the analysis of poor looping practices, the session demonstrates how to refactor code for improved readability and maintainability. Additionally, the speaker discusses existing libraries and experimental PHP RFC features that facilitate more concise coding practices.
More from this event
See all 150 talks →
DrupalCon New Orleans 2016: "About Your Sponsorship"
2:11
DrupalCon New Orleans Maximizing Your Sponsorship
1:02:36
DrupalCon New Orleans 2016: Next-level Drupal: Applied progressive decoupling with JavaScript
58:44
DrupalCon New Orleans 2016: The Symfony Monolith Repository
51:03