[squeak-dev] The Inbox: Graphics-cmm.329.mcz

tim Rowledge tim at rowledge.org
Sun Apr 3 17:31:28 UTC 2016


> On 03-04-2016, at 8:22 AM, Chris Muller <asqueaker at gmail.com> wrote:
> 
>> What if we could automate the copy-on-write behavior? If the form used in a SketchMorph could be “locked down” so that any attempt at modifying it could be caught. Then it could either just warn the user, or it could be duplicated automatically.
> 
> I do like the sound of such an idea..
> 
>> I can’t easily think of a solution, but maybe it’s possible.

Isn’t that what the immutable thingy is for? You try to write, get a trap, work out what happened, make a mutable copy, retry the write...

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- S  p  a  c  e  d   o  u  t .




More information about the Squeak-dev mailing list