Gabe Wachob 🐵🐴👨💻👨🎤🐮<p>Whenever someone writes a blog or tries to explain the concept of <a href="https://sfba.social/tags/monad" class="mention hashtag" rel="tag">#<span>monad</span></a> they claim its just a simple concept with fancy words... and then completely fail to explain the concept. Lots of verbiage about functions and closures and math theory, but no actual explanation of what they are in a common language like Python or Java or Swift, etc. Just Haskell (and strangely, C#, but not helpful to me, at least).</p><p>Finally discovered that its coming from the Functional Programming camp, which explains why the gaslighting about being "simple". I guess its simple if you assume you are working in a completely functional programming -- but if you don't state that out loud, all the "simple explanations" in the world don't matter if your description isn't grounded in something I know about.</p><p>Turns out that the Apple Combine Framework is close to monads (and functional programming) --- I get that its not exactly the same, but at least I can ground my understanding now... </p><p><a href="https://www.hackingwithswift.com/interviews/daniel-steinberg-what-are-monads" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">hackingwithswift.com/interview</span><span class="invisible">s/daniel-steinberg-what-are-monads</span></a></p>