Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KQKfl-0004Fr-Tm for mharc-grub-devel@gnu.org; Tue, 05 Aug 2008 07:25:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQKfk-0004FX-JC for grub-devel@gnu.org; Tue, 05 Aug 2008 07:25:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQKfj-0004Ep-2Z for grub-devel@gnu.org; Tue, 05 Aug 2008 07:25:48 -0400 Received: from [199.232.76.173] (port=42808 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQKfi-0004Eh-Lk for grub-devel@gnu.org; Tue, 05 Aug 2008 07:25:46 -0400 Received: from smtp-vbr6.xs4all.nl ([194.109.24.26]:1182) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQKfi-0001kO-5j for grub-devel@gnu.org; Tue, 05 Aug 2008 07:25:46 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id m75BPiPf081106 for ; Tue, 5 Aug 2008 13:25:45 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards 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> Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 05 Aug 2008 13:28:23 +0200 In-Reply-To: <1217891426.15145.38.camel@localhost> (Javier =?iso-8859-1?Q?Mart=EDn's?= message of "Tue, 05 Aug 2008 01:10:25 +0200") Message-ID: <87vdyfem5k.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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 11:25:49 -0000 Hi, Javier Mart=EDn writes: >> > There is, however, one point in which I keep my objection: comparisons >> > between a variable and a constant should be of the form CONSTANT =3D=3D >> > variable and not in the reverse order, since an erroneous but quite >> > possible change of =3D=3D for =3D results in a compile-time error inst= ead of a >> > _extremely_ difficult to trace runtime bug. Such kind of bugs are quite >> > excruciating to find in userspace applications within an IDE, so I can= 't >> > even consider the pain to debug them in a bootloader. >>=20 >> I understand your concern, nevertheless, can you please change it? > 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). BTW, your patch still contains this, can you please change it before I go over it again? I know people who claim that this code will become buggy because we write it in C. Should we start accepting patches to rewrite GRUB in Haskell or whatever? :-) Really, as a maintainer I should set some standards and stick to it. Of course not everyone will like me and sometimes I have to act like a jerk. But I rather be a jerk, than committing code that do not meet my expectations. But please understand, this contribution is highly appreciated. However, we want to have something maintainable for the far future as well :-) -- Marco