On Jan 30, 3:16 pm, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > > I think the goal is to provide object-like capabilities without > needing actual objects.
Why is that the goal? I mean, the JVM provides a well defined, high performance object oriented system. Clojure can already generate classes - the main issue I see looking at the API is that it doesn't look convenient to make "property bag" classes. There could be an API like: (class Window :properties [height width]) That could auto-generate constructors and property accessors too. You could also have a flag like :immutable which would prevent it from generating setters, and that would fit in well with Clojure's general immutability. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---