Hi Stef!,<br>&nbsp;the process we thought with Claudio and Nicolas to follow is this one:<br>&nbsp;1) Take a concrete class of the Collection hierarchy, for example OrderedCollection<br>&nbsp;2) Create a new class (ie. XOrderedCollection) with Object as super class
<br>&nbsp;3) Take a message of the ANSI Smalltalk of the selected class (OrderedCollection)<br>&nbsp;4) Write a test, make it work with the selected class (OrderedCollection)<br>&nbsp;5) Make the test written in 4) work with the class created in steep 2. ( XOrderedCollection)
<br>&nbsp;6) Repeat 3,4 and 5 until all messages of the selected class (OrderedCollection) are implemented in the other class (XOrderedCollection)<br>&nbsp;7) Select another concrete class from the Collection hierarchy (for example Array) and repeat steps from 2 to 6.
<br>&nbsp;8) Repeat steep 7 until there are enough new implementations to infer traits. <br>&nbsp;9) Refactor the new classes into traits... and play with the model until we feel comfortable with the result.<br><br>&nbsp;To put a limit in the project, they are going to implement just the ANSI Collection hierarchy (remember that it is a master thesis...)
<br>
<br>&nbsp;We thought that doing it this way the new implementation is not going to be &quot;guided&quot; by the old one, we will just keep the concrete classes names but not the hierarchy necessarily...<br><br>&nbsp;Please, feel free to let us know what you thing about this process, if you have other ideas, etc.
<br><br>&nbsp;Thanks,<br>&nbsp;Hernan.<br><div><span class="gmail_quote">On 9/6/07, <b class="gmail_sendername">stephane ducasse</b> &lt;<a href="mailto:stephane.ducasse@free.fr">stephane.ducasse@free.fr</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
EXCELLENT. I ***really*** wnat to see that.<br><br>On 6 sept. 07, at 02:46, claudio acciaresi wrote:<br><br>&gt; Hello, we (Nicolas Butarelli and Claudio Acciaresi ) are from<br>&gt; Buenos Aires ,&nbsp;&nbsp;Argentina , we're going to implement a new (we are
<br>&gt; not going to refactor the hierarchy, we are going to implement the<br>&gt; hierarchy from scratch) Smalltalk Collection ((our idea is&nbsp;&nbsp;to be<br>&gt; complaint with the ANSI Smalltalk Collection protocol) Hierarchy
<br>&gt; using Traits.<br>&gt;<br>&gt; We would like to know if someone can tell us, how to set up a Trait<br>&gt; browser, because we have been trying to use different version, but<br>&gt; none of them work fine.<br>&gt;
<br>&gt; Does anyone know the exact package and squeak version, that we need<br>&gt; to use a Trait browser?<br>&gt; Any opinion on this idea will also be useful, if you have comments,<br>&gt; please tell us.<br><br>It would be really nice to do it the same way damien did it: write
<br>test that can be run on the current implementation<br>and the new one.<br><br>I would love to see if we can get implementation traits and interface<br>traits. For example can we have different<br>dictionary sharing the same interface but using different
<br>implementations.<br><br>Please keep me in the loop.<br>Stef<br><br>&gt;<br>&gt; Thanks a lot.<br>&gt;<br>&gt; Nicolas and Claudio.<br>&gt;<br>&gt;<br>&gt;<br>&gt; ¡Sé un mejor fotógrafo!<br>&gt; Perfeccioná tu técnica y encontrá las mejores fotos.
<br>&gt; Visitá <a href="http://ar.yahoo.com/promos/mejorfotografo.html">http://ar.yahoo.com/promos/mejorfotografo.html</a><br>&gt;<br><br><br></blockquote></div><br>