Re:Tuples goodness in .NET 4.7.1
by paavohtl on Monday March 12, 2018 @01:06PM
(#16569570)
With C# 7 out vars are IMO actually now much more ergonomic to use than tuple returns.
If you returned a tuple you'd have to destructure both variables, and have a separate line for the if and the declaration.
[ Parent
| on HN ]
There are no comments on this comment yet.