From: Ned Konz Date: 2002-06-10T13:58:52+09:00 Subject: Re: Getting method! for free from method On Sunday 09 June 2002 08:11 pm, Hal E. Fulton wrote: > No way around this that I can see. Nor would I really > *want* a way around it. Some people (Smalltalkers?) want > to be able to change the class of an object dynamically. > Maybe they have a point. As for me, it makes me nervous. Most Smalltalks have #become:, which works like: objOne become: objTwo swaps the identity of objOne and objTwo There is also often a one-way #become:. It's not used much, but is really useful when it is needed... for instance, imagine replacing a proxy object with a real object in an object database or distributed object system. -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE