Indeed. In GT, we introduced gtDisplayString which is meant to be used as a
default brief string representation.

I think that we could promote this to displayString now that it is in the
Pharo image.

Cheers,
Doru

On Tue, Mar 10, 2015 at 12:03 PM, Sean P. DeNigris <s...@clipperadams.com>
wrote:

> Ben Coman wrote
> > Now the followup question is whether its natural to expect something
> > better from #asString
>
> I feel like #asString is such a general question that no answer would be
> satisfying. What string representation should be returned? 'file://'?
> '/path/to'? And what to do with memory file systems? It's been mentioned a
> few times on the list that we should all be more disciplined in sending
> e.g.
> #displayString vs. #printString instead of #asString. The more I hear that
> argument, the more sense it makes to me.
>
>
>
> -----
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/Why-aFileReference-asString-aFileReference-fullName-is-false-tp4810690p4810889.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to