From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Date: Thu, 06 Jan 2011 21:38:38 +0000 Subject: Re: [patch] checkpatch: putting the && or || on the wrong line Message-Id: <1294349918.12561.142.camel@Joe-Laptop> List-Id: References: <20110104055900.GA5062@bicker> <20110104163836.GA30317@fieldses.org> <20110104164414.GX5875@const.bordeaux.inria.fr> <1294160834.6617.51.camel@Joe-Laptop> <1294249529.6617.118.camel@Joe-Laptop> <1294336674.12561.81.camel@Joe-Laptop> <1294347753.12561.106.camel@Joe-Laptop> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Krzysztof Halasa Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On Thu, 2011-01-06 at 22:14 +0100, Krzysztof Halasa wrote: > Joe Perches writes: > >> >> Sure, standardization is a good thing - to a certain point. > >> >> We've passed this point long ago. > > Right. It's all exactly the same. > > We agree. Cites aren't necessary. > People complained on lkml and other lists that the CodingStyle / > checkpatch went way too far many times. So the evidence is there, in the > list archives, and I guess even now you're getting feedback on this. People complain, that's a fact. > OTOH you failed to show evidence that super-strict standardization > benefits anyone. I don't need to. If you don't agree with the assertion, facts likely won't change your mind. You'll more likely dispute the facts. Look up this paper if you care to though: Evaluating the Relation Between Coding Standard Violations and Faults Within and Across Software Versions Cathal Boogerd and Leon Moonen http://swerl.tudelft.nl/twiki/pub/Main/TechnicalReports/TUD-SERG-2009-008.pdf RQ2 Are files or modules with a higher violation density more fault-prone? This holds for 10 rules in the standard, with some reserva- tions. There is no reliable prediction for files without ac- tive development (no changes) nor for files without viola- tions. Also, the observed relation becomes less pronounced in time, as the number of registered open faults decreases.