variable declaration
Nick Coghlan
ncoghlan at iinet.net.au
Thu Feb 10 10:09:15 EST 2005
Antoon Pardon wrote:
> I don't think that would be a big issue. Python uses '=' also
> differently from a number of languages. My preference would
> currently be for ':=' because I have the impression that if
> you don't leave spaces the period in '.=' tends to be obscured.
>
> x.=42 vs x:=42
>
> seems a clear win for the second IMO.
>
I'm forced to agree. So I'll use the latter syntax if I end up writing anything
further about rebinding :)
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at email.com | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.skystorm.net
More information about the Python-list
mailing list