Back to the Learning

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

How to Cleanly Refactor Loops

Episode 18 Run Time 13:02

In this episode, we'll review a few collection-based refactoring steps, for iterating over a particular list of data. We'll begin with the common approach, and then slowly tweak things, bit by bit, to improve readability.

I encourage you to give Refactoring to Collections a read to dig deeper.

Publish Date: May 31, 2017