On Sun, May 20, 2012 at 4:31 PM, David Nolen <dnolen.li...@gmail.com> wrote:

> Nearly all of the data structures have been ported to ClojureScript. It's
> not clear to me that we needed traits at any point.
>
> David
>
>
>
Until it has all been factored into protocols that make it easy for people
to implement their own data structures that hook into Clojure's built-in
functions, I'd say the jury's still out.  Currently, Clojure uses a mixture
of interfaces and abstract base classes, and some things are very hard to
derive and adapt.  For example, I've been waiting on changes for a couple
of years that would allow me to hook priority maps into subseq.  Currently,
subseq is implemented in terms of an interface that makes too many
assumptions about how the data structure works.  I just don't think you can
judge the success of inheritance-less records and protocols until that sort
of work is done.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to