From owner-freebsd-chat@FreeBSD.ORG Wed Apr 15 14:56:08 2009 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 491071065676 for ; Wed, 15 Apr 2009 14:56:08 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1BD018FC13 for ; Wed, 15 Apr 2009 14:56:07 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (c-75-64-197-185.hsd1.ms.comcast.net [75.64.197.185]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id 9A11937B5BD; Wed, 15 Apr 2009 09:56:06 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id B5BE761C45; Wed, 15 Apr 2009 09:56:05 -0500 (CDT) Date: Wed, 15 Apr 2009 09:56:05 -0500 From: "Matthew D. Fuller" To: Giorgos Keramidas Message-ID: <20090415145605.GO40689@over-yonder.net> References: <49E2FBE2.8020305@gmail.com> <20090413140912.GC29833@Grumpy.DynDNS.org> <49E51B42.2060405@gmail.com> <320BA0A7-C5E0-40E5-97F9-F19BF1C61B29@hiwaay.net> <49E5670C.8070708@gmail.com> <87bpqytmc7.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bpqytmc7.fsf@kobe.laptop> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.19-fullermd.4 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on thyme.infocus-llc.com X-Virus-Status: Clean Cc: freebsd-chat@freebsd.org Subject: Re: My whitespace style X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 14:56:08 -0000 On Wed, Apr 15, 2009 at 10:20:08AM +0300 I heard the voice of Giorgos Keramidas, and lo! it spake thus: > > switch (value) { > case SOME_CONSTANT_NAME: do_stuff_here(); break; > case ANOTHER_CONSTANT_NAME: do_some_other_stuff(); break; > default: default_stuff(); break; > } ^^^^^^^^^ ^^^^^^^^^ This is This is indentation alignment > Composite structure initializations also use a style similar to > this, and will almost invariably end up looking horrendously > misformatted when TAB sizes are 'elastic', i.e.: Only if you abuse tabs for alignment. Indentation is not alignment. It's a pity that the two get conflated and everybody ends up treating them the same, so that advocating tab indentation is read as advocating tab alignment (even by proponents of tab indentation). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.