Stef,
Dumb question: are traits essential to it, or simply a way of achieving
it? Just curious, as I am still trying to put traits in perspective.
They strike me (so far, right or wrong) as a form of multiple
inheritance, which I have assumed (right or wrong) is often not needed
with clever aggregation/composition of single-inheritance objects. One
very slick use of multiple inheritance in C++ provides an easy way to
implement COM objects with multiple interfaces - not that I have any
desire to do that, but it is slick for C++. Whether that says something
about multiple inheritance's strengths or about C++'s weaknesses, I'm
not sure :)
Pearls of wisdom will be eagerly assimilated.
Bill
Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254
Email: [EMAIL PROTECTED]
Tel: (352) 273-6785
FAX: (352) 392-7029
>>> [EMAIL PROTECTED] 10/05/08 5:37 PM >>>
Hi guys
I did a fun coding session in the train to brest. I started to code
collection tests
as traits (as damien did for stream) and this is reallllly cool.
I could write some tests and apply them to
OrderedCollection, Set, Bag, Interval.....
I will publish that and continue. I imagine that the coverage for
Collection is
increase a lot.
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project