FWIW, I use:

   - (->Book "Lord of the Rings", "Tolkien")
      - when I define the record instance with the default fields, and the 
      number of default fields is a small number
   - (map->Book {:title "The Fellowship of the Ring",
                      :author "Tolkien",
                      :series "The Lord of the Rings",
                      :publisher "Mariner Books",
                      :year 2012,
                      :ISBN-10 "0547928211",
                      :my-rating 10}) 
      - The explicit key names are good documentation when 
      - there are many fields in the defrecord, or
         - when adding entries not in the defrecord (eg. my-rating)
      
Greg

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

Reply via email to