News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by pwdisswordfishz on Tuesday November 26, 2024 @05:29AM (#42244406)
> MRV, go does not have tuples.

> MRVs mostly end up being worse tuples

I think you noticed yourself that you’re getting too hung up on terminology. Multiple return values are a half-hearted, non-reified version of tuples.

Re:Lies we tell ourselves to keep using Golang by masklinn on Tuesday November 26, 2024 @05:41AM (#42244480)
No, MRVs can actually offer useful properties and features, that is what they do in Common Lisp. That Go does not do that has nothing to do with MRVs.
Re:Lies we tell ourselves to keep using Golang by erik_seaberg on Tuesday November 26, 2024 @10:38PM (#42252667)
f(g(), h()) can't work with MRVs, only f(g()). multiple-value-list, multiple-value-call, and quietly ignoring unneeded values makes them much more usable.
Re:Lies we tell ourselves to keep using Golang by biorach on Tuesday November 26, 2024 @05:43AM (#42244490)
Which is what they said. I'm not sure what point you're making