PEP 308: A PEP Writer's Experience - PRO
Andrew Koenig
ark at research.att.com
Mon Feb 10 12:58:53 EST 2003
Fredrik> even if the size of X is close to zero, for anyone who has
Fredrik> bothered to *learn* the language?
Fredrik> or are you saying that learning is irrelevant?
Well, no -- I'm saying partly that learning does not always overcome
the tendency to make mistakes that are waiting to be made.
For example, look at this code from Python 2.2.2 Lib/unittest.py:
self.stream.writeln("Ran %d test%s in %.3fs" %
(run, run == 1 and "" or "s", timeTaken))
See the bug?
--
Andrew Koenig, ark at research.att.com, http://www.research.att.com/info/ark
More information about the Python-list
mailing list