About {} and its limits
stéphane ducasse
ducasse at iam.unibe.ch
Wed Feb 9 08:12:05 UTC 2005
but this is not for all the objects but for the one we can easily fixed.
On 9 févr. 05, at 8:04, Brent Pinkney wrote:
> hi Stef,
>>>>
>>>> Why would you think so? #printString is supposed to deliver a
>>>> readable representation, not an executable one, that's what
>>>> #storeString is for. It's not a limitation of {} at all.
Why printString of point is executable?
By accident!
Why some printString methods have been changed in the past to support
self-evaluating object when it was possible?
> I must agree with Bert here, printString is a printable string that
> helps you identify your instance. storeString is for evaluating.
>
> Test, if your approach were to be pursued for all objects, what would
> the printString of a CompiledMethod be ?
>
> Brent
>
More information about the Squeak-dev
mailing list
|