by the_duke · 7y ago · 0 comments
Forcing sum types onto a language that does not support them is bound to end in awkwardness and reduced readability without providing the real benefits of increased correctness.
This is a great example. std::option from C++ is another one.