A strange Squeak bug

Alan Lovejoy squeak-dev.sourcery at forum-mail.net
Mon Feb 7 09:45:58 UTC 2005



Samir>In a workspace, 
Samir>LanguageEditor := Morph new. (for instance)

Samir>Ideas ?

Constants are your friend.  

Class globals should not be assignable using the normal syntax.  One should
be forced to code something like <(Smalltalk bindingAt: #LanguageEditor)
setValue: Morph new.> (for example)--if that's what you really want to do.  

Such devices would make it much more unlikely that beginners would know the
necessary arcania to unsafely 'mess with the system' (that's a technical
term.)

--Alan




More information about the Squeak-dev mailing list