Hacker News new | past | comments | ask | show | jobs | submit login

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.



Exactly. The biggest that comes to my mind is generics which are missing from many languages.


A tuple struct fills nearly zero of the real use cases for language level tuples. No pattern matching makes it sort of useless.


What about returning multiple values from a function without declaring a dedicated type? That is pretty useful.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: