On Fri, May 15, 2009 at 2:36 PM, Vagif Verdi <vagif.ve...@gmail.com> wrote:
>
> What are the use case scenarios where one is preferable to the other
> in clojure ?

A lot of good points have been raised in this thread. A minor point to
add is that literal vectors are a bit easier to pick out in code than
literal lists. Since parens are all over the code anyway, finding

[foo bar]

is easier than finding

'(foo bar)

That said, clearly if you need the characteristics of lists like being
able to add and remove at the front quickly, you should use a list
instead of a vector.

-- 
R. Mark Volkmann
Object Computing, Inc.

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