(:Keyword map) is preferred, because keyword itself can never be nil, while
it's possible for map, you might be interested to have a look at:
https://github.com/bbatsov/clojure-style-guide

From:  Jonathon McKitrick <jmckitr...@gmail.com>
Reply-To:  <clojure@googlegroups.com>
Date:  Mon, 28 Jan 2013 18:00:01 -0800 (PST)
To:  <clojure@googlegroups.com>
Subject:  Best practice - (:keyword map) versus (map :keyword)

Either one works, is there any kind of guideline on which to prefer, when?
Or is it entirely personal preference?  It seems each way could be more
readable in different circumstances....

-- 
-- 
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/groups/opt_out.
 
 


-- 
-- 
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/groups/opt_out.


Reply via email to