|
|
|
|
|
by SebastianKra
701 days ago
|
|
This is the first time I'm hearing such a claim. In C# you can't work with optional generics because an optional reference type is different from an optional value type. C#s poor type-inference often requires you to type out types thrice. You can't declare constants or class members with type-inferrence. The only way to define sum-types (A | B | C) is through intefaces and I'm pretty sure they can't be sealed. Defining product-types (A & B & C) is impossible. |
|