Last updated at 11:44 am UTC on 30 April 2019
Object is the single base class in the object hierarchy. For the protocol see chapter 6 of the Blue Book.
Object method printOn:
To have a complete view of an object use the SRE Object Browser.
Put notes here about the use of this class:
Subject: Re: Difference between Object>>clone and Object>>shallowCopy
Date: Mon, 14 Jan 2002
Similar to the message basicAt:, clone should not be overridden so that you can always get the primitive clone behavior for any object. ShallowCopy might be overridden, depending on the semantics of the receiver.
Incidentally, we didn't always have a "clone" primitive. In early versions of Squeak, shallowCopy was written using "instVarAt:" and "instVarAt:put:".