[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: print stdout and flush
- From: Axel Kittenberger <axkibe@...>
- Date: Sun, 29 May 2011 19:23:19 +0200
> print() currently acts like C's printf(). This seems natural for a
> language that generally takes C's position on IO (much to the dismay
> of the i18n crowd, for instance.)
print() is currently an adhoc function to make something look remotely
useful without worrying much (autospacing at the such).
For those who need more control use io.stdout.write() anyway.
So there is a good point for a flush after every print(). For those
for which this is too much performance hit, should use write()
instead.