News for hackers. Stuff that matters.
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 (TryGetSomething(int param, out var value)) {
    // use it here
  }
If you returned a tuple you'd have to destructure both variables, and have a separate line for the if and the declaration.

There are no comments on this comment yet.