From the course: Functional Programming with PHP
A functional approach to transform code - PHP Tutorial
From the course: Functional Programming with PHP
A functional approach to transform code
- [Shaun] Over the past few years, functional programming has become more and more popular, and it's not hard to see why. When compared to more outdated paradigms such as object-oriented or procedural programming, functional programming provides developers with the ability to minimize the potential for bugs in their code while maximizing it's readability and re-usability. Functional programming has been championed by languages like Lisp and Haskell, but nearly all of its core concepts are hiding in plain sight right within standard PHP. If you're looking for a straightforward, reliable way to make your applications more maintainable and scalable, learning functional programming might just be the single most important step you can take. In this course, I'll show you how to make the jump into functional programming. We'll start off with the basic concepts of functional programming and how it compares to object-oriented programming, and then move on to first-class functions and how to work with them in PHP. We'll then move on to see how functional programming makes working with arrays with very straightforward in PHP followed by some more advanced concepts such as recursion and partial application, and finally, we'll close out with a few interesting challenges that will help you improve your functional knowledge even further. I'm Shaun Wassell and I'm a senior software developer. I've spent much of my professional life exploring functional programming and figuring out how to incorporate it more effectively into production code basis, and I'm really excited to share some of the things I've learned with you. Join me in my LinkedIn Learning course to learn functional programming with PHP and see how to take your code to a whole new level.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.