Series
Just Enough FP For OO-Developers
The Best Container Interface: Functor. I Promise.
If you have used the Java Stream Api, the Browser’s Fetch Api or modified a list in Javascript, you’ve come across a Functor. It’s a beautiful, intensively analyzed concept from Category Theory and Functional Programming that you’ll begin to see everywhere.
Read MoreJust Enough FP For OO-Developers
Be a Smarter, Future-Proof Programmer with Monads
As a Java(script) programmer, you already know Lists and Optionals, and have used map
and flatMap
functions just fine without knowing the underlying Monad concept. However, getting to know it will make your code easier to test with fewer bugs, and make you a competent programmer on nowadays essential, harder topics like asynchronous and reactive programming.