Hacker News new | ask | show | jobs
by cjonas 1371 days ago
Last I checked C# didn't have an algebraic type system...
2 comments

But F# is sitting in the corner with an eyebrow cocked suggestively.
C# does not have "type" keyword and really lacks behind with enums. You can theoretically replace algebraic type system with inheritance, however that's a lot of times ugly and you propablly shouldn't do it.