Pythonification of the asterisk-based collection packing/unpacking syntax

Chris Angelico rosuav at gmail.com
Thu Dec 29 18:30:54 EST 2011


On Fri, Dec 30, 2011 at 10:24 AM, Lie Ryan <lie.1296 at gmail.com> wrote:
> Another drawback of it is that it looks misleadingly similar to C++
> namespace notation.

Granted, but I don't see that as a drawback. The current notation is
just as similar to C's pointer-dereference notation, but that hasn't
led people to think that tail holds a pointer to the location where
something should be stored.

This would be a serious concern with notations that are common across
many languages (eg "x*y" to mean multiplication, which isn't strictly
what mathematics uses), but with language-specific notations,
especially such brief ones, it's understood that there'll be
duplication.

ChrisA



More information about the Python-list mailing list