Rethinking Loops

Comments

Comments are closed.

John K at 11:42 on 5 Mar 2016

Very helpful, and eye opening to make me rethink all of my code and how I'm implementing loops.

Riley Major at 11:54 on 5 Mar 2016

I don't know if I agree with all of the principles espoused in this talk, but it was a great reminder of the power of array_map, array_filter, and array_reduce (and even array_fill_keys). It also encourages us to consider our code from a different perspective.

The speaker's volume was a problem, especially with the packed room. The peaceful, consistent cadence didn't help.

Nice use of video to show the refactoring.

Very much enjoyed this talk. Great use of code to illustrate the points. I liked how he focused on PHP, but made analogies/connections with other contexts. John's a great speaker, though a touch on the quiet side so maybe a mic would be helpful for a larger audience like this one had. I came away from this talk feeling [even more] enthusiastic about applying a functional paradigm to my code.

Becky at 12:41 on 5 Mar 2016

A lot of food for thought that has me thinking about looking at my code and seeing if/how I can refactor it using some of the techniques you discussed.

Coni Gehler at 12:50 on 5 Mar 2016

As another person wrote, I didn't agree with many of the principles espoused, but cool stuff to think about. Nice use of video for the refactoring. Speaker's volume was a big problem.

Josh at 12:51 on 5 Mar 2016

Great talk and was nice to see a new way to think about loops.

Woody Gilk at 13:02 on 5 Mar 2016

As far as delivery goes, this was one of the best talks I've seen at the conference. Excellent pacing, quality slides, and even a "live" refactoring demo that was spot on.

The content was also quite good. Some of the examples were a little weak, eg using array_reduce to calculate a sum that could be done using array_sum. That said, the overall philosophies that were covered and the design suggestions and general advice were excellent.

This is definitely a contender for my favorite talk of the conference!

Great talk! Did a great job approaching the issue from multiple angles, each with step-by-step logic so that the audience understood the how and why of the approach. Well-designed presentation and useful tactical knowledge for any PHP programmer.

Really interesting concepts, lots to think about. Mic would have been really nice

Wes Reavely at 00:19 on 6 Mar 2016

As a long time programmer, I was excited for this talk since getting my hands on the schedule for the conference. I have the same complaints that seem common among the audience, a low volume, weak reduce example (although sometimes it takes real genius to see purpose in the smallest ultiliies), lack of performance data and reason from an optimization standpoint.

HOWEVER! I was excited to see John challenge age-old control structures and unescessary complexity in favor for more "self explanatory" code, easier to maintain code, more sensible code and above all else a revolution of how we approach "typical" loop based operations.

I see his point and idea of extensive pipelining, however even this style may become difficult to focus on... His last chaining example for example...

I would've loved to see some cross-over from his material with what's coming in PHP7

Regardless of all criticisms, I award John for his insights and forward thinking. The expansion of this approach with objects, PHP7, optimizations and who knows what else will come will keep us on our toes and maybe even make us laugh at the guy who types "f" "o" "r" in a row...

Thanks John!

Steve Meyers at 00:48 on 6 Mar 2016

A great introduction to map, filter, and reduce, and how they can be used to solve problems using a different approach than we normally use. Well done.

Eli E Vargas at 12:01 on 7 Mar 2016

By far my favorite talk. Eye opening. Got me exited about re-thinking my loops.

Dave Buchanan at 14:46 on 7 Mar 2016

Very well presented. I agree with other commentor, use of video for code refactoring was a nice touch. Gave me a lot to think about. One of the most immediately applicable presentation, probably for everyone. Sound level was fine to me and I was standing in the back.

This was probably tied for one of the best sessions of the conference. Very helpful in thinking through common coding scenarios and how to solve them without multi-level loops. I wish this could be published into a book and made required reading for developers everywhere. Thank you!