New Book: Refactoring to Collections
Published on by Eric L. Barnes
Adam Wathan launched a new book today, Refactoring to Collections, that teaches you how to apply functional programming principles to write clean, maintainable PHP.
Learn how to use collection pipelines to break down ugly, complex functions into a series of simple transformations, free of loops, complex conditionals, and temporary variables.
I’ve seen some of the examples used in the book and it’s an awesome resource for really learning what all can be done with Collections. It’s mind-blowing. The testimonial by Taylor Otwell sums it up:
“I wrote the library used in this book, and I still learned dozens of tricks that have improved my code. This is the definitive resource for programming with collections.”
Eric is the creator of Laravel News and has been covering Laravel since 2012.