[Python-Dev] Integer division transition
Charles G Waldman
Tue, 7 Nov 2000 12:50:18 -0600 (CST)
Greg Wilson writes:
> 2. What mark would you give a student who had variables IO and I0 in the
> same module?
I think this is a bit of a stretch - IO and I0 look almost identical
typographically (depending on the font) whereas // and / look pretty
different. It would be a better analogy to say "What mark would you
give a student who used variables X and XX in the same program". And,
I wouldn't have a problem with that.
How about URL's? '/' and '//' have different meanings there and I
don't think people have a big problem with this.
The other point - "=" vs "==" - is a bit harder to answer. Both of
these symbols are used in Python, but not in the same context.