Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 00:48:57 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        mckay@thehub.com.au (Stephen McKay)
Cc:        jgrosch@mooseriver.com, tlambert@primenet.com (Terry Lambert), iain@research.canon.com.au (Iain Templeton), chat@FreeBSD.ORG, mckay@thehub.com.au
Subject:   Re: silly C style question
Message-ID:  <200101270049.RAA09818@usr01.primenet.com>
In-Reply-To: <200101260530.f0Q5UwF18441@dungeon.home> from "Stephen McKay" at Jan 26, 2001 03:30:58 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> >> [Terry's compact format]
> >
> > [Josef's compact format]
> 
> But neither of the compact formats can be easily read.  To be certain
> what it they are doing, you have to laboriously trace the brackets, or
> hop about in them using vi's % operator.  I admit I write all of mine in
> such a compact style, but always wonder what it would be like to get
> away with the clear but hugely "wasteful" of vertical space Basser format.
> I can't imagine such a format lasting long in a commit to /sys/anything
> around here. ;-)

I think that the compact form is significantly easier to read.  It
lets a reader compute the result of a subexpression, and then ignore
everything at that indentation level, basd on a single result.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101270049.RAA09818>