<div class="gmail_quote">On 13 March 2012 21:40, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:SeeWebsiteForEmail@erdani.org">SeeWebsiteForEmail@erdani.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 3/13/12 1:20 PM, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What value does it add over Kenji's change? Is this because Kenji's<br>
change is unable to perform direct to existing variables?<br>
</blockquote>
<br></div>
Yes.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My understanding from early in the thread was that Kenji's change hides<br>
the returned tuple, and performs a convenient unpack. How can you<br>
perform a scatter if the tuple instance is no longer visible?<br>
</blockquote>
<br></div>
If I understand you correctly, you just say fun().scatter(v1, v2, v3).</blockquote><div><br></div><div>Ah okay, I see.</div><div>And you think that's more readable and intuitive than: (v1, v2, v3) = fun(); ?</div></div>