Yet case classes with pattern matching and pure functions leads to some of the most readable code I’ve seen, without requiring much FP knowledge. Unlike OOP in which the logic is hidden away in some AbstractVisitorBuilderFactory and a sea of required classes to make that work.
Things can get rough when you take FP or OOP to their logical ends, the sweet spot lies somewhere in between.
Things can get rough when you take FP or OOP to their logical ends, the sweet spot lies somewhere in between.