From owner-freebsd-arch@FreeBSD.ORG Wed Feb 2 06:25:05 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23DA816A4D6 for ; Wed, 2 Feb 2005 06:25:05 +0000 (GMT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E05E43D3F for ; Wed, 2 Feb 2005 06:25:04 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j126P0N3023436; Wed, 2 Feb 2005 01:25:00 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <20050201234646.GK61409@myrddin.originative.co.uk> References: <20050128173327.GI61409@myrddin.originative.co.uk> <20050131102630.GJ61409@myrddin.originative.co.uk> <20050201180624.GB19624@funkthat.com> <20050201190416.GG61409@myrddin.originative.co.uk> <20050201230437.GD19624@funkthat.com> <20050201234646.GK61409@myrddin.originative.co.uk> Date: Wed, 2 Feb 2005 01:24:59 -0500 To: Paul Richards , arch@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Re: c99/c++ localised variable definition X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 06:25:05 -0000 At 11:46 PM +0000 2/1/05, Paul Richards wrote: > >Surely the issue should be, if you're a good coder and you adhere >to the adopted style, which style is more likely to result in >maintainable code. I suspect that if you're a good coder, or if you have a bunch of good coders looking over your shoulder (like we do here...), then the current style is just as likely to result in good, maintainable code as the localized-variable style that you are proposing. Thus, there does not seem to be any compelling reason to change the style. Just MO, of course. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu