[MATRIX-SIG] integer division -- what a concept!
Rupert Mazzucco
maz@pap.univie.ac.at
Sat, 17 Jan 1998 00:58:33 +0100 (MET)
On Fri, 16 Jan 1998, Paul F. Dubois wrote:
> There is a long-established history of this behavior in both Fortran and C.
As I said, I'm aware of this.
But both Fortran and C are *old* languages.
Wasn't Python set to be a *modern* language
and easy-to-learn?
Experienced programmers may be know that 2/3 == 0,
and even make use of it; nevertheless this behaviour is
guaranteed to confuse beginners. And it introduces
a possibility for errors that are really hard to find.
Regards,
Rupert Mazzucco
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________