>>>>> "Bert" == Bert Freudenberg <[EMAIL PROTECTED]> writes:

Bert> There is no magic in #instVarAt:. It exists merely for helping
Bert> debugging.

I meant the primitive it invokes.  Encapsulated magic is still magic.

>> So code would merely have to execute the equivalent of the  primitives behind
>> #instVarAt: and #instVarAt:put:, and no amount of wrapper class  would help.


Bert> All you need to do to prevent the debugger from accessing instance
Bert> variables is overwriting the methods the debugger invokes.

Ahh, but a determined outsider could still add methods to the class of the
object on the fly, hand-compiling them if necessary.

Unless you're now voting for an immutable method dictionary. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to