Re:What's coming in Go 1.12 [slides]
by ilovecaching on Friday November 02, 2018 @07:55PM
(#18367701)
A tuple is a type constructor. A multi value return is not a type. It’s a semantic hard coded into the language spec. If you have tuples, you don’t have to add that special case to the language. You can also type alias a tuple, store it as a value, and just generally treat it like any other type.
[ Parent
| on HN ]
There are no comments on this comment yet.