Author
Released
2/27/2020Skill Level Advanced
Duration
Views
- [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.
Related Courses
-
Advanced Laravel
with Justin Yost2h 20m Advanced -
Building Laravel and Vue.js Web Apps
with Michael Sullivan2h 47m Intermediate -
PHP: Testing Legacy Applications
with Chris Hartjes1h 43m Intermediate
-
Introduction
-
What you should know1m 24s
-
1. Introductory Functional Concepts
-
First-class functions2m 38s
-
2. First-Class Functions
-
Functions as data, part 16m 44s
-
Returning functions6m 19s
-
Closure3m 35s
-
Higher-order functions6m 40s
-
Arrow functions in PHP3m 39s
-
-
3. PHP: The Functional Parts
-
Mapping4m 46s
-
Filtering4m 58s
-
Sorting3m 39s
-
Reducing6m 10s
-
Combining array functions6m 50s
-
4. Advanced Functional Concepts
-
Recursion4m 26s
-
Composition, part 15m 41s
-
Composition, part 24m 25s
-
5. Code Conversion Challenges
-
Challenge: Property getter2m 15s
-
Challenge: Tallying votes1m 43s
-
Solution: Tallying votes1m 55s
-
Challenge: Value or array2m 10s
-
Solution: Value or array1m 34s
-
-
Conclusion
-
Next steps1m 35s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: A functional approach to transform code