> I think Andreas's point is that there's a discontinuity: > > 0 required keys: map > 1 required key: struct-map > 2 required keys: struct-map > ...
That's exactly the point! If I change only a little detail in my program, this can have impact on a huge part of my program. I can not see any reason why it is forbidden to use empty defstructs. > The solution for Andreas, of course: either > > * Always use map. The performance impact is small. And documentary style is lost. Would be ok though, but not optimal. > * Always have at least one required key in your struct-map, even if > you don't actually use it. That's definitely not a solution but a problem itself.
-- 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