On Mon, May 21, 2012 at 4:53 AM, nicolas.o...@gmail.com <
nicolas.o...@gmail.com> wrote:

> >
> > Have you actually looked at the data structure implementations in
> > ClojureScript? The work is done. It's all protocols.
> >
> Hi David,
>
> I just have. This is a nice work. There is a lot of repetitions though.
>

I actually like this repetition. When it's simple one-liners like this, I
feel the explicitness is worth way more than any gains from re-use,
particularly because re-use often becomes a game of trying to find which
file defines the behavior you're interested in.

If the repetition were more substantial, the explicitness vs reuse tradeoff
would eventually crossover though.

--Aaron

-- 
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