Adam Wathan - Curing the common loop - Laracon EU 2016

Trying to understand a complex function full of nested loops and conditionals is like trying to read a “choose your own adventure“ book from front to back. In this whirlwind tour of programming with collection pipelines, you’ll learn how to use functional programming ideas to break down complex code and abstract hidden duplication behind expressive higher order functions. By leveraging the power of Laravel’s Collection class, we’ll refactor ugly, complicated spaghetti into a series of simple, elegant tran
Back to Top