refactoring morphic

Jerome Peace peace_the_dreamer at yahoo.com
Thu Dec 14 06:04:26 UTC 2006


refactoring morphic

Hi Gonzalo,

Morphic needs refactoring.

Be leary of big projects or big steps.
More useful results can be achieve by:
-Taking small steps. 
-Learning from the small experience. 
-Apply the learning to the next step. 

This will get great results. Squeak is designed for
this type of development.

I have done this several times and the results are
apparent in those fixes and enhancements that have
gotten into 3.9.
-Polygons now have completely smooth curves and you
can use them to resemble ovals as well as rectangles. 
-Stars are no longer limited to 5 sides. You can get
all number of points and pointiness.
-Mixed polygons are now available that allow
combining.
Each of those achievements were the result of a series
of small steps. Each building on what went before.


Before any of them there was time spent getting to
know what was there already.
-Reading code.  
-Chasing down the implementation of each message in a
method until a deep understanding of the method was
achieved.  
-Then chasing the senders of a message to find out how
it was used in practice.  
All this informed my thinking and shaped my designs.

The motivation was provided by short term goals. Fix
this bug. Or achieve that enhancement. The star
improvements came from a second iteration on a project
I had to -create kaleidoscopes.

What about morphic specifically would you like to see
improved.
Start with a short user story.

Finish a sentence like.:
Morphic should ...
or
Morphic should allow you to ...

Then see what you know about it. Search the code. Make
small experiments in a workspace.

Then see what you want to do about refactoring or
repairing morphic.

HTH

Yours in service, Jerome Peace




>Gonzalo Romano gonzalo.romano at gmail.com 
>Wed Dec 13 19:09:06 UTC 2006 wrote:
>
>
>hi people i want to know what you thing of
refactoring morphic from
>scracht, rebuild it entirely new. from its beggining
to its end and
>removing things that doesn't really work propperly
and shouldn't be
>there
>-- 
>Gonzalo, Romano
>
>


 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited



More information about the Squeak-dev mailing list