links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
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:

From: John.Maloney@disney.com
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:".