DrupalCon New Orleans 2016: Rethinking Loops

1:00:34 · 09 May 2016 – 13 May 2016 · YouTube

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.

From event

DrupalCon New Orleans - May 2016

09 May 2016 – 13 May 2016

All event videos
Back to Watch