2 ms·
Every language has something missing, but C# has plenty of other great features so tuples weren't really that big of a problem. There are also plenty of built-i
by manigandham 10y ago
Every language has something missing, but C# has plenty of other great features so tuples weren't really that big of a problem. There are also plenty of built-in containers like the Tuple class that can offer the same functionality.
- MichaelGG 10y agoA tuple struct fills nearly zero of the real use cases for language level tuples. No pattern matching makes it sort of useless.
- adwn 10y agoWhat about returning multiple values from a function without declaring a dedicated type? That is pretty useful.
- cm2187 10y agoExactly. The biggest that comes to my mind is generics which are missing from many languages.