Hacker News new | ask | show | jobs
by Koiwai 1532 days ago
Lots of newer languages can, like go and rust.

BTW it's not "creating a tuple with syntactic sugar on the fly", I mean, if you think that's creating a tuple, obviously in lots of languages, that tuple is created by passing x/y's value, assigning to that anonymous tuple won't affect original x/y.

The correct term should be destructuring assignment.