Going Mad With Monads
Years ago now... sometime back in 2018, or 2019, I bought a book called "Pro PHP Functional Programming". Functional programming was all the rage back then, and so I decided to learn in a language ...

Source: DEV Community
Years ago now... sometime back in 2018, or 2019, I bought a book called "Pro PHP Functional Programming". Functional programming was all the rage back then, and so I decided to learn in a language I was most familiar with. At some point deep in the book the author mentioned NOT recommending using Monads in PHP. First, the whole point of the book, in my mind, was to learn about "The Mysterious Monad", and 2nd, the one way to get me to do something is tell me not to do it. Thus began the great misadventure I pray is finally coming to an end. I had already read a book by Christopher Pitt "Typed PHP" and combining those ideas, with my desire to utilize these functional techniques in my content management job, led me to go down all sorts of rabbit holes in search of the "ultimate toolbox" ... the deeper understanding that would make me that mythical 10x-ninja badass and then I could go back to focusing on music while my system starting bring in passive income. I honestly wish I had listened