On Wed, Feb 3, 2010 at 12:11 PM, Laurent PETIT <laurent.pe...@gmail.com>wrote:
> I think there are also several ways of identing clojure code, depending on > what the tools provide out-of-the-box, and of devs personal preferences: > > * do you see a reindenter like something that will just correctly change > the number of beginning spaces of each line, or also something that could > reformat the whole line as well (removing extra spaces, ...) > It reminds me of gofmt. Code submitted to the go project will invariably be formatted by the gofmt app that defines the canonical way to format go code. If you disagree with gofmt, you shouldn't correct it by hand, you either are wrong or should file a bug against gofmt. It's a gutsy move on their part to declare a canonical one-true-way to format code but I like best practices delivered as code. Beside, it's not as if anyone was forced to use it. I'd totally be behind a tool that formats clojure code. It would make a good contrib. -- 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