[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0707241854140.18990@fbirervta.pbzchgretzou.qr>
Date: Tue, 24 Jul 2007 18:56:32 +0200 (CEST)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: Andy Whitcroft <apw@...dowen.org>
cc: "Kok, Auke" <auke-jan.h.kok@...el.com>,
Andrew Morton <akpm@...l.org>,
Randy Dunlap <rdunlap@...otime.net>,
Joel Schopp <jschopp@...tin.ibm.com>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] update checkpatch.pl to version 0.08
On Jul 24 2007 12:33, Andy Whitcroft wrote:
>
>> Warning on multiple declarations on a line is nice, but IMO really too
>> verbose (why is "int i, j;" bad? Did C somehow change syntax today?).
>
>No the normal response is two fold:
>
>1) "what the heck are i and j those are meaningless names"
Can we at least assume the submitter is sane in some ways?
i and j are picked for obvious iterater values - you would not want
verbosify that to fruit_iterator and process_iterator or whatever
because it's a hell lot more typing.
It takes more than a few Perl regexes to actually grasp the semantics
of whether "i" is useful or not.
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists