|
|
|
|
|
by reificator
2446 days ago
|
|
I do agree, I would prefer tuples to multiple return in go. Perhaps they find it easier to teach to users coming from languages with less or no type inference? Java and C++ programmers in my experience don't tend to be familiar with tuples, despite there being a tuple in the C++ stdlib. My purely uninformed guess is that it's because of how verbose declarations can get in Java, or in C++ without auto/decltype from C++11. |
|