A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/070994.html below:

[Python-Dev] New syntax for 'dynamic' attribute access

[Python-Dev] New syntax for 'dynamic' attribute access [Python-Dev] New syntax for 'dynamic' attribute accessBenji York benji at benjiyork.com
Mon Feb 12 23:48:59 CET 2007
Collin Winter wrote:
> On 2/12/07, Brett Cannon <brett at python.org> wrote:
>> I actually kind of like that.  The connection to pointer indirection
>> meshes well with the idea of indirectly figuring out what attribute to
>> access at runtime.
> 
> There's a connection, but I'd say it's the wrong one. In C, "x->y"
> dereferences x, while in Python, "x->y" would dereference y. That's
> just begging for trouble.

Then the syntax should obviously be "x<-y".

[insert in-Soviet-Russia-variables-dereference-you joke here]
--
Benji York
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4