Hi Stef!,<br> the process we thought with Claudio and Nicolas to follow is this one:<br> 1) Take a concrete class of the Collection hierarchy, for example OrderedCollection<br> 2) Create a new class (ie. XOrderedCollection) with Object as super class
<br> 3) Take a message of the ANSI Smalltalk of the selected class (OrderedCollection)<br> 4) Write a test, make it work with the selected class (OrderedCollection)<br> 5) Make the test written in 4) work with the class created in steep 2. ( XOrderedCollection)
<br> 6) Repeat 3,4 and 5 until all messages of the selected class (OrderedCollection) are implemented in the other class (XOrderedCollection)<br> 7) Select another concrete class from the Collection hierarchy (for example Array) and repeat steps from 2 to 6.
<br> 8) Repeat steep 7 until there are enough new implementations to infer traits. <br> 9) Refactor the new classes into traits... and play with the model until we feel comfortable with the result.<br><br> 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> We thought that doing it this way the new implementation is not going to be "guided" by the old one, we will just keep the concrete classes names but not the hierarchy necessarily...<br><br> Please, feel free to let us know what you thing about this process, if you have other ideas, etc.
<br><br> Thanks,<br> Hernan.<br><div><span class="gmail_quote">On 9/6/07, <b class="gmail_sendername">stephane ducasse</b> <<a href="mailto:stephane.ducasse@free.fr">stephane.ducasse@free.fr</a>> 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>> Hello, we (Nicolas Butarelli and Claudio Acciaresi ) are from<br>> Buenos Aires , Argentina , we're going to implement a new (we are
<br>> not going to refactor the hierarchy, we are going to implement the<br>> hierarchy from scratch) Smalltalk Collection ((our idea is to be<br>> complaint with the ANSI Smalltalk Collection protocol) Hierarchy
<br>> using Traits.<br>><br>> We would like to know if someone can tell us, how to set up a Trait<br>> browser, because we have been trying to use different version, but<br>> none of them work fine.<br>>
<br>> Does anyone know the exact package and squeak version, that we need<br>> to use a Trait browser?<br>> Any opinion on this idea will also be useful, if you have comments,<br>> 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>><br>> Thanks a lot.<br>><br>> Nicolas and Claudio.<br>><br>><br>><br>> ¡Sé un mejor fotógrafo!<br>> Perfeccioná tu técnica y encontrá las mejores fotos.
<br>> Visitá <a href="http://ar.yahoo.com/promos/mejorfotografo.html">http://ar.yahoo.com/promos/mejorfotografo.html</a><br>><br><br><br></blockquote></div><br>