Hacker News new | ask | show | jobs
by masklinn 1491 days ago
C# does not have sum types.

It has "enumeration types" but their behaviour is exactly that of C's, with various additional conveniences but critically (and unlike Java for instance) no more type-safety.