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 […]
Tag: Composition
About Inheritance and Composition
Like for dependency injection, heritage and composition are easily misundertsood. We remember that programs written in Oriented Object Programming (OOP ) are designed by making them out of objects that interact with one another. Technically, we have two possibilities to share code in an OOP style: either composition or inheritance. […]