Augmented Assignement (was: Re: PEP scepticism)

Piet van Oostrum piet at cs.uu.nl
Mon Jul 2 14:18:50 EDT 2001


>>>>> Steve Horne <sh at ttsoftware.co.uk> (SH) writes:

SH> I've always liked having a colon on my assignment operator - I think
SH> the single = for assignment was a mistake. If we had := for
SH> assignment, then augmented assignments would be more clearly distinct
SH> from other operators - :+=, :-=, :*= etc etc.

Should be +:=, like in Algol 68.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list