Structs are maps with shared keys and positional constructors as Rich mentions in the original post. I think Rich is saying that maps should indeed "be abused" ;) By building all "higher level" structures on top of them, consumers are guaranteed not only your custom functionality, but all the functionality guaranteed by the language itself. On Sun, Mar 8, 2009 at 3:47 PM, Dan <redalas...@gmail.com> wrote:
> > > I guess I want to advocate - don't merely replicate the things with > > which you are familiar. Try to do things in the Clojure way. If your > > logical structure is a mapping of names to values, please use a map. > > I tend to replace every instance of creating classes with creating > structs which, if I understood correctly, are maps too. Good habit or > should structs not be abused? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---