As a software developer, you will probably have at least once a month a discussion about Functional Programming (FP) vs Oriented Object Programming (OOP). Of course, it’s always about the context, I already talked about it.But thanks to Samir Talwar, I had new insights recently on this topic that I […]
Tag: FP
The context of OOP and FP
Explaining monads
Explaining Monoids
Let’s have some fun with F#. Through example, we will discover together what are monoids, and why they could be useful. All the following code can be found online. Function composition example with integers We now all agree about what’s function composition. We all know what are integers. So, let’s […]
What’s composition?
You remember that Functional Programming (FP) is all about function composition? But what’s composition by the way? Let’s explain it here with a few other useful concepts for FP, and go one step further in monads understanding. Integer composition A composition of integer in mathematics is a way of writing […]