From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 29 18:22:47 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 098E310656B1 for ; Wed, 29 Apr 2009 18:22:47 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 821768FC14 for ; Wed, 29 Apr 2009 18:22:46 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: by bwz9 with SMTP id 9so1326932bwz.43 for ; Wed, 29 Apr 2009 11:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=URl135aMvQi1eiOoo5yziCru/oRtbDGmZssZwOLHvy8=; b=almhM9Pr+uf5phHLc7nRTDAnUDyVdrBr+rCeX60yoSepIUYT0tjZNN06fK6UfpAdsw riLLKx9Erq5gULdUHSU0stlOEdNq1wgIZime8wOvuKl2bO66wJjgV8aKhRz2woOt+XeB hsdy+8MTNKxauaBrtHnzVoiM00tMP6iA3pGag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Yhq9vXDI5BCWL3ETFVLU9tSZoexT03BmsWDUd4l/G2lLJaWD5NVxhkL2Z5xTzbitcx kVEzz53YNv/l0fNRpKic4kVZwRL+QD05pkGuesibfnMlEWmrgRXZfdXX48vgXNM56XrP nrkAHT8SHACXFCS7PdctL+yOlmyaUiG3Xp5lg= Received: by 10.103.117.9 with SMTP id u9mr415480mum.55.1241029365368; Wed, 29 Apr 2009 11:22:45 -0700 (PDT) Received: from ?157.181.96.136? (quark.teteny.elte.hu [157.181.96.136]) by mx.google.com with ESMTPS id j2sm3283395mue.41.2009.04.29.11.22.44 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Apr 2009 11:22:44 -0700 (PDT) Message-ID: <49F89B6E.7030303@gmail.com> Date: Wed, 29 Apr 2009 20:24:46 +0200 From: deeptech71@gmail.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <49F4070C.2000108@gmx.de> In-Reply-To: <49F4070C.2000108@gmx.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: C99: Suggestions for style(9) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2009 18:22:47 -0000 Christoph Mallon wrote: >> -When declaring variables in functions declare them sorted by size, >> -then in alphabetical order; multiple ones per line are okay. >> +When declaring variables in functions declare them sorted in >> alphabetical order; What's wrong with logical grouping, especially when the new localized declaration style is used (so tons of variables are not declared at a time anymore)?