Re:Learn X in Y minutes where X = Go
by tibbon on Wednesday September 04, 2013 @10:25AM
(#6327751)
You can do multiple return values of mixed (and non-predetermined) types in Ruby too.
[ Parent
| on HN ]
Meh, not really. In ruby `return x, y` is just syntactic sugar for `return [x, y]`, ie returning an array. It's also an indication that you probably need a class.