Am 13. März 2012 14:15 schrieb Gary Gregory <garydgreg...@gmail.com>: > On Tue, Mar 13, 2012 at 8:39 AM, Torsten Curdt <tcu...@vafer.org> wrote: > >> I find checkstyle to be not very useful. It's more hassle than it's >> worth. It's like pointing fingers instead of helping. If you want to >> foster a certain code style provide eclipse and intellij formatter >> settings instead - that's actually helping. Especially if you run them >> before a release. >> > > I'd /love/ to have IDE settings for formatting saved in a project. This is > the 21st century, all IDEs support this, if you do not use an IDE (hi > Gilles), then, well, you probably also like driving a stick for "control" > :) The only tricky part is how organize such a folder to account for > different IDEs and versions. For example ide/eclipse/3.7.1, > ide/intellij/10.5.3, and so on. Then you can move the IDE files to where > each IDE wants it. >
Very big +1 Gary! It would make contributing to the various components so much easier (at least for people how use an IDE ;). I guess we should discuss this on a new thread. > Gary > > >> The basic code style is like logging - people spent just wait too much >> time on this. Thinks we really should care about are in the findbugs >> and PMD report. I don't see why we should make checkstyle part of the >> projects by default. > > >> My 2 cents, >> Torsten >> >> On Tue, Mar 13, 2012 at 1:14 PM, Simone Tripodi >> <simonetrip...@apache.org> wrote: >> > Hi Torsten! >> > >> >> -1 for checkstyle >> > >> > With my +1 I meant that, as we discussed in another thread, the parent >> > could provide a default - but overridable - configuration; I think >> > that having at least one metric of code style measure in each >> > component would be nice to have, so unless other preferences, the >> > parent "suggests" a default config >> > >> > I would like to understand better your PoV (that would influence >> > mine): which are your concerns about having the checkstyle? >> > >> > many thanks in advance, all the best, >> > -Simo >> > >> > http://people.apache.org/~simonetripodi/ >> > http://simonetripodi.livejournal.com/ >> > http://twitter.com/simonetripodi >> > http://www.99soft.org/ >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> > For additional commands, e-mail: dev-h...@commons.apache.org >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org