F3C - A FunFunFunction Companion Series
I came across a great YouTube video series on functional programming. It's by Mattias P Johansson ("MPJ" for short), whose YouTube channel is funfunfunction. Before you do anything else, including reading on, go over there and subscribe to his channel, the videos are excellent.
I don't want to take away from the absolutely great videos themselves, you should watch them again and again. Rather, I wanted to try to present the key messages from each video in the series in posts over here. My intention is to keep the posts short (up to 500 words) and to the point, and perhaps include some code of my own.
This sounds to me like a good idea right now, perhaps it might not be such a good idea later on, we'll see.
(Warning: I interchange the words "array" and "list" in a reckless fashion throughout this series, as well as "object" and "map" (the type of data structure); don't worry though, treat them as the same things).
Part 1 - Higher-order functions