Date: Wed, 15 Apr 2009 09:56:05 -0500 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-chat@freebsd.org Subject: Re: My whitespace style Message-ID: <20090415145605.GO40689@over-yonder.net> In-Reply-To: <87bpqytmc7.fsf@kobe.laptop> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090415145605.GO40689>