[squeak-dev] The Inbox: Morphic-hjh.1453.mcz

K K Subbu kksubbu.ml at gmail.com
Sat Jun 16 14:25:32 UTC 2018


On Saturday 16 June 2018 10:27 AM, H. Hirzel wrote:
> After unloading Etoys 'Projects' -> 'New project' -> 'New
> MorphicProject' no longer works.
> 
> Etoys implements #isTileScriptingElement.  (see screen shot). After
> unloading only one sender it left - in method
> PasteUpMorph>>allTileScriptingElements

and in Morph>>isTileScriptingElement. Both seem to be results of 
monkey-patching (understandable in research experiments).

Wouldn't a better idea be to subclass EtoysMorph (Morph) and EtoysWorld 
(PasteUp) and move such methods into them? Like in EtoysPresenter?

This will require a one-time effort in changing base Etoys class defs 
and methods. But this one-time change will payoff in terms of cleaner 
separation between Morphic and Etoys.

Would this be too risky a change for 5.2 release?

Regards .. Subbu


More information about the Squeak-dev mailing list