www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Scala containers

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Scala uses an inheritance-rich design for its containers that I'd 
considered for D (in a slightly different form as D doesn't have traits) 
and rejected. Still, I wonder how that design compares to D's choice.

http://blog.schauderhaft.de/2010/12/19/the-scala-collection-api-sucks-or-is-it-a-work-of-beauty/


Andrei
Dec 20 2010
parent Kagamin <spam here.lot> writes:
Andrei Alexandrescu Wrote:

 Still, I wonder how that design compares to D's choice.
Runtime polymorphism?
Dec 21 2010