It never occurred to me that it would ever be the case!

I've always thought classes were singleton and that SomeClass copy would always return the sole instance of that class!

I wonder what are the implications of returning a copy, say, when you add an instVar to the "original" class ?  What happens to the reshaping of the instances created by the copy?

On 2020-12-31 20:25, Richard O'Keefe wrote:
Squeak, VisualWorks,
GNU Smalltalk, and Pharo *deliberately* make
aClass copy

--
-----------------
Benoît St-Jean
Yahoo! Messenger: bstjean
Twitter: @BenLeChialeux
Pinterest: benoitstjean
Instagram: Chef_Benito
IRC: lamneth
GitHub: bstjean
Blogue: endormitoire.wordpress.com
"A standpoint is an intellectual horizon of radius zero".  (A. Einstein)

Reply via email to