2 ms·
Does Go really not have tuples? (Aren't multiple return values tuples?)
by dbaupp 13y ago
Does Go really not have tuples? (Aren't multiple return values tuples?)
- pcwalton 13y agoIt has multiple return values and syntax for assigning the results of a function that returns multiple values, but tuple values are not first class and the destructuring form is limited to calling a function and extracting its return values.