Documentation, assignment in expression.

Tim Chase python.list at
Sun Mar 25 20:22:23 CEST 2012

On 03/25/12 10:16, Kiuhnm wrote:
> On 3/25/2012 15:48, Tim Chase wrote:
>> The old curmudgeon in me likes the Pascal method of using "=" for
>> equality-testing, and ":=" for assignment which feels a little closer to
>> mathematical use of "=".
> Unfortunately, ":=" means "is defined as" in mathematics. The "right"
> operator would have been "<-".

Yeah, while I like the "<-" better too, I'm not *quite* old 
enough to have influenced Wirth in his design decisions ;-)


More information about the Python-list mailing list