[Python-Dev] Integer division transition

Greg Ewing greg@cosc.canterbury.ac.nz
Wed, 08 Nov 2000 13:42:40 +1300 (NZDT)

Charles G Waldman <cgw@fnal.gov>:

> The other point - "=" vs "==" - is a bit harder to answer.

I think the reason this causes so much trouble is that many
programming languages, not to mention mainstream mathematics,
use "=" to mean what C uses "==" for.

Other such pairs in C, e.g. "&" vs "&&" and "+" vs "++",
don't seem to cause anywhere near as much difficulty, so
I don't think the problem is one of visual confusion, but
of semantic confusion.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+