> Just another option to consider: > {:type :person, :name "Bill", :age 20}
Why then use defstruct at all? I think defstruct is useful, but it would be even more useful if I had nothing to fear if it "runs empty" sometime because of little design changes. It might be only experimental and later I may choose other obligatory keys, but breaking the consistency of defstruct at this point is in my opinion a singularity that is just 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