On 9/2/05, Ron Adam <rrr at ronadam.com> wrote: > Jim Jewett wrote: > > Putting the spaces back in (without a format string) would > > be even worse. Charles Cazabon's pointed out that it *could* > > be as simple as > > > > writeln(' '.join( ... )) > > Why not just offer an addition method ? > > examine(x,y,z) # print with spaces Because we're now up to *four* stream methods, plus the same number of builtins, to do what one statement currently does? (BTW, the ' '.join() idiom has a minor disadvantage in that it *builds* the output string, whereas print doesn't. Not a major issue, given the typical sizes of strings to be output, but it's another cost nevertheless...) Paul.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4