Fork me on GitHub
#clojure-austin
<
2017-01-16
>
clojuregeek17:01:19

which do you prefer to join a vector of data into a string separated by commas?

clojuregeek17:01:25

boot.user=> (clojure.string/join "," [1 2 3 4] )
"1,2,3,4"
boot.user=> (apply str (interpose "," [1 2 3 4]))
"1,2,3,4"

clojuregeek17:01:35

or is there a better way you can think of

norman18:01:15

It’s clearer and simpler