Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As a dev that uses tuples to standardize returns. I welcome the new using feature.


May I know how would this help ?

They don't have generic support no ? You create tuple type for every method ?


My business classes have a lot of methods that return tuples that look like this.

  (bool HasFailed, string Status)
Also yes tuples do support generics.




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

Search: