Hacker News new | ask | show | jobs
by grumpyprole 997 days ago
One example for you: anytime you needed to use the "Visitor pattern" to do a transformation from one representation to another - you don't need it now. Sealed classes and pattern matching will be more succinct and easier to reason about.