On 12/03/2013 09:45 PM, Tim Roberts wrote:
Piotr Dobrogost <p...@google-groups-2013.dobrogost.net> wrote:

Attribute access syntax being very concise is very often preferred
to dict's interface.

It is not "very concise".  It is slightly more concise.

     x = obj.value1
     x = dct['value1']

You have saved 3 keystrokes.  That is not a significant enough savings to
create new syntax.  Remember the Python philosophy that there ought to be
one way to do it.

That should be "one obvious way".

On my keyboard, at least, those are an important three keystrokes!  ;)

To be clear, I am

-1

on the new syntax.

--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to