[Pharo-dev] Probably stupid... question about string printString.
akgrant0710 at gmail.com
Sat Oct 21 13:49:06 EDT 2017
On Sat, Oct 21, 2017 at 05:28:21PM +0200, Stephane Ducasse wrote:
> I would like to really understand why
> 'foo' printString
> and not why this is not
I can't comment on the original thinking behind this, but I agree that
"Represent the receiver on the supplied stream"
aStream nextPutAll: self
would be much better.
If we're displaying values such as numbers and strings in a UI, e.g.
table, we normally don't want the strings always enclosed in quotes.
More information about the Pharo-dev