Not so much.

On Feb 17, 10:12 am, Reinier Zwitserloot <[email protected]> wrote:
> To summarize Joel Neely's argument:
>
> "I think java should have tuple packing and unpacking exactly as
> python has it".
>

I'd have summarized it more as "multiple assignment doesn't require a
full implementation of Tuples and structural typing, and offers
additional notational conveniences."

I didn't write in terms of tuples and Python (or Perl, Ruby, etc.)
deliberately, to avoid the excess baggage. Although use of anonymous
tuples is one way to implement what I described (and a nice one at
that), it isn't the only way. (Just as "hidden go to statements"
aren't the only way to think about, or implement, iterative program
structures.)

Dijkstra discussed "concurrent assignment" on p. 28 of /A Discipline
of Programming/ (copyright 1976), and the concept was already well
known by then.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to