Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Object
Last updated at 2:56 pm UTC on 16 January 2006
Object is the single base class in the object hierarchy. For the protocol see chapter 6 of the Blue Book.

http://www.mars.dti.ne.jp/~umejava/smalltalk/stClasses/dandelion/dandelionOutput/Kernel-Objects/Object.html

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:".