by muhammedbash · 5y ago · 0 comments
In go you can do this:
function (x, y int) (sum, prod int) { return x+y, x*y }
It makes a big difference when one is using the same input to generate multiple related outputs.
No comments yet.