Am 06.11.2011 12:56, schrieb pron: > Hi. I'm new to Clojure, and enjoy using it very much. It's been years > since I learned Scheme back in college, and it's a pleasure going back > to lisp. > I do, however, have a question regarding real-world Clojure use in large > teams. While I clearly understand the pros of common data > access/manipulation, doesn't the lack of encapsulation prove problematic > in large projects with many developers? E.g., one developer may add a > keyword to a map for one purpose, and another, use the same keyword for > a different purpose.
give each developer its own namespace for keywords http://stackoverflow.com/questions/2481984/when-should-clojure-keywords-be-in-namespaces from then on, it's the same as an evil oo-developer misusing someone elses field, preferably via reflection so it's difficult to track With classes, all data manipulation for a single > type is located in one place, so such clashes can easily be prevented, > let alone the fact that encapsulation helps delineate legal operations > with the data. > I realize there are always tradeoffs, and perhaps the pros outweigh the > cons, but I would like to know how you deal with such problems, that > invariably arise in large-team development. > > Thanks. > > -- > 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 -- -- 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