[Python-Dev] New Wiki page - PrintAsFunction
tjreedy at udel.edu
Sat Sep 3 13:21:19 CEST 2005
"Ron Adam" <rrr at ronadam.com> wrote in message
news:43195EB1.3090406 at ronadam.com...
> # standard printing
> write.ln(1, 2, 3)
> # print without trailing newline
> write(1, 2, 3)
This violates this design principle:
When there are two options and one is overwhelmingly more common in use (in
this case, with newline added, at least 95%) the common case should be
easier, not harder.
Terry J. Reedy
More information about the Python-Dev