Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 53778 invoked from network); 26 Jun 2008 23:21:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 23:21:31 -0000 Received: (qmail 34397 invoked by uid 500); 26 Jun 2008 23:21:33 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 34380 invoked by uid 500); 26 Jun 2008 23:21:33 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 34369 invoked by uid 99); 26 Jun 2008 23:21:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 16:21:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 74.125.46.29 as permitted sender) Received: from [74.125.46.29] (HELO yw-out-2324.google.com) (74.125.46.29) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 23:20:42 +0000 Received: by yw-out-2324.google.com with SMTP id 5so93852ywb.53 for ; Thu, 26 Jun 2008 16:21:01 -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 :organization:user-agent:mime-version:to:subject:content-type :content-transfer-encoding:sender; bh=UJViYRKp3kTBrrZ9eDNKuYHLOMW+v8r1uNrGDeNLnAU=; b=KfIlJAURu6RzzJ4gqHcadyBM3vHeP+XLMCXrv9peNAOl3tYFLmXwBSTV2XnSQJJXhE AuZWilEXe9URH8X6kiiEhMofVGrQg3e/CXz8gn2hXXshGv9NUAe+HUjsUC2Q7TT/Swqi ehPTwvT6X8hOiQ/2hNzRuQSOoaiEfp1GfzhN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:sender; b=KpbnG24zAJshEyGa0XbzR/0Psfpjj6RoXZ6ZLuWViFooHXkfyLV7eWh2MWMgBBk6iZ 1YTKxGMrzwW7jr/qWo3Fo/VayZj+9NKxFZLplPalGW/J6LEdAdtOlPK3k8nzRhRiCpWn mHM/P+A+fVsS3NVo3UBvmjtv/6/uqcejlS82k= Received: by 10.150.49.1 with SMTP id w1mr1023057ybw.24.1214522461402; Thu, 26 Jun 2008 16:21:01 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id z38sm393365pyg.25.2008.06.26.16.20.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 16:21:00 -0700 (PDT) Message-ID: <4864245A.1040805@roguewave.com> Date: Thu, 26 Jun 2008 17:20:58 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: spacing suggestion for new code Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org While reviewing all the new code that's been added I'm finding it difficult to spot where one namespace-scope definition ends and another starts because the spacing between them (the number of newlines) is the same as the spacing between members, namely 1 blank line. I find code easier to read when namespace scope definitions of functions and classes that span more than one line are separated by two blank lines. Existing code likely isn't completely consistent in this regard, and I'm sure examples of both styles could be found, but I'd like to think the two-line style is prevalent. Either way, in the interest of readability, I'd like to suggest that we adopt the two-line spacing style for all new code. Yes? Martin