The Tennis kata revisited

added by DotNetKicks
8/3/2021 3:49:07 PM

573 Views

When you need discriminated unions, but all you have are objects. After I learned that the Visitor design pattern is isomorphic to sum types (AKA discriminated unions), I wanted to try how easy it is to carry out a translation in practice.


0 comments