Wednesday, February 24, 2016

7:00 PM

Lawrence Public Library

707 Vermont St, Lawrence, KS (map)
 


  • Meeting Room C: Downstairs and to the right
  • This month, John Kary will present Rethinking Loops:
    You likely learned about loop constructs very early in your programming career and use them every day--so often you don't think twice! The problem is for() and foreach() are so fundamental developers use them for everything! Even worse almost every developer will use them differently to accomplish the same goal. So what would intention-revealing PHP code look like without using for() and foreach()? Let's explore some functional programming concepts and find out!
    Knowing basic functional programming concepts will improve your PHP code. Your new mindset will favor writing code with better separation of concerns and decreased complexity: clean code. We will explore some poor examples of using loops to process data, then ease into learning functional concepts like map, reduce, filter and collection pipelining. We'll then use our newfound knowledge to refactor a large foreach() loop to use the new techniques. Lastly we'll explore some existing libraries and even experimental PHP RFC features to make our code even more concise. Beware: after this talk you'll never look at for() and foreach() loops the same again!
    ...
    We'll also have time for you to share something. Many attendees often bring their laptops and share things they're working on, things they've learned, and things they need help with. Slides are optional, but we like to see code if you have it!
    If you'd like to be listed on the agenda, please let Aaron or Eric know, or comment on this event. Otherwise, we'll have time for lightning talks.
  • 0 Response to "Februrary 24th: Lawrence Coders - Rethinking Loops with John Kary (February 2016 show and tell)"

    Post a Comment

    Group Tools

    Random Prize Winner
    Use this tool to generate random numbers for prize drawings.




    Follow this twitter list of the twitter accounts for the user groups. Ask for your group to be added to this list: twitter list
    Subscribe to the Kansas City User Group Newspaper at Paper.li

    Blog Archive

    Followers