Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQAlO-0001ms-7S for mharc-grub-devel@gnu.org; Mon, 04 Aug 2008 20:50:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQAlM-0001mN-TA for grub-devel@gnu.org; Mon, 04 Aug 2008 20:50:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQAlK-0001lF-C2 for grub-devel@gnu.org; Mon, 04 Aug 2008 20:50:54 -0400 Received: from [199.232.76.173] (port=35092 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQAlK-0001lA-5i for grub-devel@gnu.org; Mon, 04 Aug 2008 20:50:54 -0400 Received: from mta21.charter.net ([216.33.127.81]:54874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQAlK-00072a-2x for grub-devel@gnu.org; Mon, 04 Aug 2008 20:50:54 -0400 Received: from aarprv04.charter.net ([10.20.200.74]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080805005039.PMI26743.mta21.charter.net@aarprv04.charter.net> for ; Mon, 4 Aug 2008 20:50:39 -0400 Received: from [192.168.0.102] (really [71.10.234.12]) by aarprv04.charter.net with ESMTP id <20080805005039.WYBH7436.aarprv04.charter.net@[192.168.0.102]> for ; Mon, 4 Aug 2008 20:50:39 -0400 Message-ID: <4897A3DC.4050705@isaac.cedarswampstudios.org> Date: Mon, 04 Aug 2008 20:50:36 -0400 From: Isaac Dupree User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: The development of GRUB 2 References: <1215137528.26019.58.camel@localhost> <87bq0sibu0.fsf@xs4all.nl> <1216601741.8334.122.camel@localhost> <877ib1khe9.fsf@xs4all.nl> <1217806150.9634.24.camel@localhost> <87iqug33m9.fsf@xs4all.nl> <1217891426.15145.38.camel@localhost> In-Reply-To: <1217891426.15145.38.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Chzlrs: 0 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) Subject: Re: [PATCH] Drivemap module X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2008 00:50:57 -0000 Javier Martín wrote: > You understand my concern, but seemingly do not understand that in order > to conform to the Holy Coding Style you are asking me to write code that > can become buggy (and with a very hard to trace bug) with a simple > deltion! (point: did you notice that last word _without_ a spelling > checker? Now try to do so in a multithousand-line program). well, maybe a bit off topic. But I can't imagine how, after code is written, I could accidentally delete an "=" character even when editing it. I prefer the (to me) intuitive meaning of (variable == value) in my own code. That particular problem has never bitten me. Although, in C++ coding style, a lot more local variables are "const" and therefore the error could be caught by the compiler anyway. It seems like an odd paranoia to choose. Say, take "uint32_t". It's only a one-character deletion to become int32_t and then there is subtle breakage. "htons" and many other functions with similar names and suffixes. Etc.? It's half C language and culture, and half inevitable in programming, IMHO. point[2]: I half did notice the typo (only "half" because I've trained myself not to be too distracted by people's spelling), and I'm generally more precise when looking at code (maybe). ;-) Anyway, since "they" are more likely to maintain the code in the long run than you, in general, the question is whether the code is more likely to become buggy by their hacking on it, if it follows project coding style or someone else's (your) "safer" coding style. Likely it's safer if using a consistent programming style. Although I personally don't see that it's very helpful to have a style that makes things down to the order of "==" arguments be consistent within the project; haphazard only slows reading the tiniest bit, and I don't think it makes a different what order the arguments are... -Isaac