[haiku-commits] Re: another coding style discussion (was: r36596 - haiku/trunk/src/apps/packageinstaller)

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 04 May 2010 16:52:19 +0200

On 2010-05-04 at 16:44:38 [+0200], Matt Madia <mattmadia@xxxxxxxxx> wrote:
> On Tue, May 4, 2010 at 14:29, Stephan Assmus <superstippi@xxxxxx> wrote:
> >
> > On 2010-05-04 at 16:19:12 [+0200], PulkoMandy <pulkomandy@xxxxxxxxx> 
> > wrote:
> >> What about setting up a bot to detect these using the checkstyle
> >> script ? Somewhat I feel it less aggressive to get notices from a bot
> >> than from a dev ...
> >
> > Yes, that would certainly help.
> 
> At the moment, checkstyle generates some false positives -- evaluating
> comments as code.  IIRC, aldeck had some ideas on how to improve it.
> After the release, I could give him a hand to implement it.
> 
> Another idea to toss in the air, would it be tolerable to agree on a
> set of enforceable and non-enforceable coding style rules?

We have done this in the past for something we cannot agree on, like the 
asterix style. In that case the rule is to be consistent in a single file.

Best regards,
-Stephan

Other related posts: