Discussion: new math operators

Greg Ewing to_get_my_address at see.my.signature
Wed Jul 26 22:47:27 EDT 2000


Huaiyu Zhu <hzhu at knowledgetrack.com> writes:
> 
>  3. If there could be future calculus of operators, would we now
>     favor (*)= or (*=) for augmented assignment?

Depends on whether you want to elementwise multiply and assign,
or multiply and assign elementwise :-)

I'm sure the people who favour + and .+ doing different things
will be able to come up with some subtle difference between
these, and argue for having both...

-- 
Greg Ewing, Computer Science Department, 
University of Canterbury, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list