Documentation, assignment in expression.
Tim Chase
python.list at tim.thechases.com
Sun Mar 25 14:22:23 EDT 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 ;-)
-tkc
More information about the Python-list
mailing list