Discovering the Principles of Functional Programming with JavaScript
In this post, I will lay down the major principles of Functional Programming, starting with the basics and then exploring more advanced concepts.
I’ll first talk about why you should bother with Functional Programming, that is when it’s useful and when it’s not.
We will cover a lot of stuff here, so please go at your own pace. Take some breaks and naps between your reading sessions and do the exercises I propose.
Of course, you can skip sections or go back and fourth depending on your needs.
This post intentionally targets several kind of readers:
I invite you to ponder each sentence carefully instead of rushing through the content like we’re all used to.
I hope this post will be an important milestone in your journey into Functional Programming, as well as a source of information to go back to when needed.
Just a heads up, though – this post doesn’t constitute a single source of truth but rather an invitation to go further after reading it.
In other words, it’s meant to be revisited and expanded with further resources and practice.
I hope to clarify the functional landscape in your mind, spark your interest for what you didn’t know, and more importantly, provide useful tools for your day-to-day projects.
Without further ado, let’s get started!
In my opinion, there are 3 major benefits to FP and 3 (little) drawbacks:
Advantages:
Drawbacks:
Now I’ll explain why I think that.
#functional #programming #web-development #developer #javascript