News for hackers. Stuff that matters.
Re:Java 17 / JDK 17: General Availability by muhammedbash on Tuesday September 14, 2021 @12:32PM (#28527219)
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.

There are no comments on this comment yet.