[Python-Dev] Replacement for print in Python 3.0
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Sep 5 02:39:15 CEST 2005
Meyer, Tony wrote:
> "print" is the best example I can think of for "practicality beats purity".
>
> Writing to stdout is as common in the code I write as loops - it's worth
> keeping such basic functionality as elegant, simple, easy to understand,
> and easy to use as possible.
If writing to stdout easily were the only goal, it could
be achieved by making stdout a builtin and using
stdout.write(...).
--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg.ewing at canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list