[Pharo-project] Call for suggestions: Morph has 997 methods
Hi guys It would be great if we could assess Morphic fat. I think that with 997 methods not counting the MorphExtension class, we should be able to clean Morph and friend. So if you see passing unused, useless, broken Morph code please report it Stef
Stef, One interesting idea that I saw mentioned a long time ago was to create a new set of classes that use DNU as a prompt to grab the missing method from the corresponding morph class. After a while, it should converge on a minimal set of methods, at least as written. Another thing: the Guzdial and Rose book contains "Back to the Future Once More" that contains a statement of intent to replace morphic with something better. I further recall some mention of replacing morphic's use of global coordinates with morph-local coordinates, though I do not recall where I read that. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: Sunday, June 07, 2009 2:44 PM To: Pharo Development Subject: [Pharo-project] Call for suggestions: Morph has 997 methods Hi guys It would be great if we could assess Morphic fat. I think that with 997 methods not counting the MorphExtension class, we should be able to clean Morph and friend. So if you see passing unused, useless, broken Morph code please report it Stef _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Jun 7, 2009, at 10:02 PM, Schwab,Wilhelm K wrote:
Stef,
One interesting idea that I saw mentioned a long time ago was to create a new set of classes that use DNU as a prompt to grab the missing method from the corresponding morph class. After a while, it should converge on a minimal set of methods, at least as written.
I did it :) But it crashed. I did the same with mw and I got 600 methods when opening and closing methods.
Another thing: the Guzdial and Rose book contains "Back to the Future Once More" that contains a statement of intent to replace morphic with something better. I further recall some mention of replacing morphic's use of global coordinates with morph-local coordinates, though I do not recall where I read that.
yes but we need a good soul to implement it: lessphic But first cleaning unused or not useful would be also good. stef
participants (2)
-
Schwab,Wilhelm K -
Stéphane Ducasse