It would be _nice_ to have a default that was the baseline format. The Canon of Clojure Conventional Conformity (CCCC).
If an org or project wanted to have a different format, they could supply it as a plugin to the clojure-fmt tool. (set-format "local-conventions") When the format gets applied, etc is up to the smart people. It would make sense to me that (set-format ...) is for the physical representation of the file on disk and in version control, etc. If my IDE understood (set-format ...) I could *view* and *edit* in my preferred format (local project or IDE setting), I would never know or care about the underlying representation. Does that make sense? If Clojure was stored in an opaque binary container we wouldn't care, everyone's viewer/editor would adjust. The physical representation would cease to matter. On Sep 5, 2010, at 8:06 PM, Daniel Gagnon wrote: > I think it would be great if an official "clojure-fmt" tool existed. > I have no interest in forcing people to use it who don't want to. But > I think it would set a great baseline for IDEs and would be helpful to > the people and teams who like having coding standards. I would be one > of a number of people who would voluntarily use such a tool. > > I would too because I prefer a good and predictable format to a perfect one > I'm the only one to use. Also if that tool is customizable, people could use > it format source to their own preferences out of git when they pull and > format it back when they push. > > I don't think there's something special about Python that makes it more > suitable to something like PEP 8. If Python users were like Lisp users, > they'd bicker incessantly about how how much space in indentation but Guido > said it's 4 spaces and that's it. > > I don't believe we can find *the* one style but I would like someone with > sufficient clout to suggest *a* style. > > -- > 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