I am thinking of something more like go language or python.
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.
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.