<div dir="ltr">Interesting!<div><br></div><div>For multiple-value returns, how about an object holding these values?</div><div>I know this might introduce many of these tiny objects, but I'm okay with that!</div><div><br></div><div>IIRC Leandro implemented a feature in Bee where you can return anonymous objects.</div><div>Something along the lines of {foo: 1, bar:2}. Then you can do `result foo`, etc.</div><div><br></div><div>I'm more on keeping the syntax simple camp, but that is an interesting idea too.</div><div><br></div><div>Cheers,</div><div>Nico PM</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 21, 2023 at 10:54 AM Mariano Montone via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El 21/6/23 a las 10:44, Luciano Notarfrancesco via Cuis-dev escribió:<br>
> Interesting, thanks for sharing!<br>
> Actually I think it’s the same thing I did<br>
<br>
Yes, I think you've implemented destructuring rather than multiple-value <br>
return, as your solution can be applied to other things than method call <br>
returns.<br>
<br>
This is something nice to have, makes code more readable.<br>
<br>
<br>
Mariano<br>
<br>
<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><br>Nicolás Papagna</div>