You can both avoid efficiency concerns and avoid introducing operations that are not idiomatic Clojure that that they will have to unlearn later when other Clojure users say their code is weird.
Just: - There are different kinds of data structures (vector, list, set, map). They are better for different uses. - The generic operation to add an element to a collection is conj. - conj adds an element in the place best for the collection type. Vector = end, list = beginning, sets and maps are unordered so have no expectations - hey look vectors and lists are different, choose the one that matches what you want (which is probably a vector) That’s like a 15 minute discussion and does not introduce anything unnecessary. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.