Another in my series of trimmings from Advanced Functional Programming with Elixir . This one explores how polymorphism relies on tags and how Elixir’s structs make that pattern safer and more robust.
4 Likes
Thank you for this. I’ve been following the community since 2017 and, sadly, in my opinion the functional programming paradigm has been dismissed at least since then. I’ve observed that most of the community, and the projects I’ve worked on, are OOP projects in disguise. Yes, there’s immutability and anonymous functions, but people want to call globally registered processes and have side effects everywhere. Yes, it works, due to BEAM’s characteristics, and there are ways to even write manageable tests but it’s far from what it could be.
3 Likes




















