> > And documentary style is lost. Would be ok though, but not optimal.
>
> On the contrary, I think
>
>    {:name "Bill" :age 23 :friends 20}
>
> is better than
>
>    (struct-map person "Bill" 23 20)

Please review the definition of struct-map...
Actually we seem to have the same opinion! Even better readable is

(struct-map person :name "Bill")

A person which name is Bill... ideal! {:name "Bill" :age 23 :friends
20} is not so good because you can not see at a glance that it is a
person. (struct person "Bill" 23 20) is also not so good because you
could confuse age and friends (even more horrible, when you change the
definition of your person later...)
-- 
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

Reply via email to