Dynamic methods and lambda functions

Kay Schluehr kay.schluehr at gmx.net
Mon Jan 26 13:14:05 EST 2009


On 26 Jan., 15:13, Steve Holden <st... at holdenweb.com> wrote:
> Mark Wooding wrote:
> > unine... at gmail.com writes:
> [...]
> >   * Assignment stores a new (reference to a) value in the variable.
>
> >   * Binding modifies the mapping between names and variables.
>
> I realise I have omitted what was doubtless intended to be explanatory
> detail, but I am having trouble reconciling those sentences. Would you
> mind explaining "in vacuuo" what you see as the difference between
> assignment and binding?
>
> regards
>  Steve
> --
> Steve Holden        +1 571 484 6266   +1 800 494 3119
> Holden Web LLC              http://www.holdenweb.com/

"Assignment" is binding values to names whereas "binding" is binding
names to scopes. Marks terminology is a bit more standard than Pythons
in this respect. As you know, Python avoids the idea of variables as
if those were storage cells having a fixed logical address.



More information about the Python-list mailing list