coding style - where to declare variables

Marko Rauhamaa marko at pacujo.net
Mon Jul 23 04:49:37 EDT 2018


Ben Finney <ben+python at benfinney.id.au>:
> Gregory Ewing <greg.ewing at canterbury.ac.nz> writes:
>
>> Marko is asking us to stop using the word "binding" to refer to
>> assignment because of the potential confusion with this other meaning.
>
> That's about as reasonable as my request that we stop using the term
> “variable” for what is, in Python, an un-typed reference to an object.
>
> I expect both of these requests to meet with little satisfaction.

I'm actually not asking, only wishing.

People new to Python are unnecessarily confused by talking about names
and binding when it's really just ordinary variables and assignment. It
seems to be mostly some sort of marketing lingo that seeks to create an
air of mystique around Python.


Marko



More information about the Python-list mailing list