Larry Garfield presents Functional Programming (in PHP)

  • April 23, 2014 · 6:00 PM
  • This location is shown only to members

6PM-6:30PM: Gather and socializing, pizza to be provided by Palantir.net. We will also play a social game of Bingo. Participants will be entered in a drawing to win a free ticket to the php[tek] 2014 conference at the end of the Meetup. 

6:30PM-7:30PM: Larry Garfield presents:

Functional programming. Some see that term and think "functions? You mean procedural programming. I've been doing that for years." Others see it and think "you mean that crazy academic nonsense that no one understands? Pfft!"

In truth, functional programming is fundamentally an approach to software development, not a particular language or syntax. With PHP 5.3, it is an approach that is now more readily available and powerful than ever before. Even if you're not writing in Erlang or ML, there is still much to learn from the principles of functional programming to help write better code.

This session will discuss the history of functional programming and how it compares to other programming paradigms (procedural and object-oriented). We will then discuss by example how functional concepts and techniques, plus new language capabilities in PHP 5.3 such as anonymous functions can make our code more robust, maintainable, and bug-free. Even without a truly functional language, there is much we can learn from functional programming as a technique.

Join or login to comment.

  • Larry G.

    A few people were asking about real-world use cases of anonymous functions. Here's a relevant example from Drupal 8 (well, training material for it): http://palantir.net/presentations/matw2014-d8-mod-dev/#/3/4 (delaying execution of a piece of code to save memory)

    May 1, 2014

  • Elliott Lawrence P.

    Unfortunately I'm just slammed with the last week of class this week. Need to cancel. I'm sure I'm missing out big time!

    April 23, 2014

  • A former member
    A former member

    Looking forward to learning about PHP and functional programming. I do mostly Wordpress and e-commerce.

    April 21, 2014

  • Andrew Z.

    Hopefully I can go. Work may get in the way, but at this point I look forward to attending.

    March 27, 2014

  • Elliott Lawrence P.

    Sounds awesome!

    March 27, 2014

Our Sponsors

  • Wellspring

    Job opportunities! Consider applying to join our top-notch dev team.

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more
Allison

Meetup has allowed me to meet people I wouldn't have met naturally - they're totally different than me.

Allison, started Women's Adventure Travel

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy