News for hackers. Stuff that matters.
Re:Why Go is elegant and makes my code elegant by wyager on Thursday April 10, 2014 @09:42PM (#7570797)
>Rust does have multiple returns, but that's just the obvious result of supporting tuples in the language (to say nothing of tagged unions).

Yes, but it's (from a user standpoint) practically the same thing!

>The hidden out-param you speak of is just there to guarantee return-value optimization

Yes, which allows for the efficient return of arbitrary-sized structs, i.e. multiple return.

There are no comments on this comment yet.