3 ms·
The problem with this is that it leaves things without any obvious, canonical, name. You have to read a bunch of code to figure out what's going on and a change
by stormbrew 12y ago
The problem with this is that it leaves things without any obvious, canonical, name. You have to read a bunch of code to figure out what's going on and a change in the values returned may result in subtle errors.
Coffeescript has a really neat destructuring operator for this kind of thing:
qux = () -> {blah: "a", blorp: "b", zoop: "c"}
{blah, blorp, zoop} = quz()