Recap of "Functional Programming" talk at Triangle JS/PHP/MySQL Meetup
We started out with some coverage of why functional programming is compelling to learn and what exactly it is. Functional programming, at its roots, is the idea that functions are values so they can be assigned to variables, passed to other functions as arguments, and returned from functions as return values. We looked at some examples of each which are best illustrated in the slide deck linked and embedded below. We hit on some of the facilities provided by the underscore library. Finally, the conclusion of the talk was a live coding session (with only one syntactical error! thank the Live Coding Gods) where we started fleshing out a little, functional SQL-like DSL for querying data in-memory.
Overall it was a great time and I really appreciate the TriJS / TriPHP&MySQL groups for putting the event together!
Slides are available on SpeakerDeck. Demo code is available on GitHub.
Leave the first comment