arcanosam wrote
> printString... v asString... There is something different about both?

I will add that conceptually:
- #printString = what a developer would want to see, e.g. in an inspector
- #displayString = a string suitable for UI (i.e. in production)
- #asString - while typically implemented to be the same as #printString,
the meaning for me is a bit different, which is "what this object converted
to a string means in my domain"

That said, IMHO as a community we are not great about properly
distinguishing these, especially #displayString.



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to