"Nick Sabalausky" <[email protected]> wrote in message 
news:[email protected]...
>
> I was giving a little bit of thought to assignment chaining the other day. 
> Unless someone can point out why I'm wrong, I think some of the 
> functional-style stuff we've been getting into can make assignment 
> chaining obsolete.
>
> Hypothetical example:
> [mydic[x], mydic[y], mydic[z]].fill(mydic.length);

Or maybe something like:
[mydic[x], mydic[y], mydic[z]].each = mydic.length;

>
> I think something like that would be more clear than both the "tmp" and 
> assignment chaining versions, and perhaps allow any language complexities 
> that arise from the assignment chaining feature to be removed.


Reply via email to