News for hackers. Stuff that matters.
Re:Generics enabled by default in Go tip by rustc on Sunday August 22, 2021 @07:03AM (#28264498)
That would be exactly the thing generics are supposed to fix (except that Go doesn't have tuples yet, but at least you can define your own now and return a generic `Tuple[A, B]`).

Regardless of that, returning a tuple of size 10, especially with different types, would almost always be a bad idea.

There are no comments on this comment yet.