|
|
|
|
|
by gutsy
4665 days ago
|
|
MULTIPLE return values?! My mind is BLOWN. That's awesome. My work is all in Java and there are so many times on my last project where that would have been helpful (I know I can do it by creating a map or an array or something, but that's stupid and extra code that I shouldn't need to write). I really hope to be able to write Go professionally at some point, it is a really nice language to write in. |
|
(Go's multiple return values seem to just be simulating a single use case of proper tuples.)