Date: Fri, 28 Sep 2001 17:17:12 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Paul Richards <paul@freebsd-services.com> Cc: John Baldwin <jhb@FreeBSD.org>, Warner Losh <imp@harmony.village.org>, arch@FreeBSD.org Subject: Re: Style Wars Message-ID: <Pine.BSF.4.21.0109281714190.72157-100000@InterJet.elischer.org> In-Reply-To: <441890000.1001717107@lobster.originative.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Sep 2001, Paul Richards wrote: > Could we perhaps modify style to state intent rather than the method. > > The intent here is to align the names; attempting to formulate a set method > is too rigid and causes people to leap up and down when style isn't > followed to the letter even when the outcome is not good looking code. > > Can't we change the general tone of style to say things like > > "names should be aligned for ease of readibility" > > rather than the rigid "one tab after type" etc. > > To avoid lots of whitespace problems there can be a general guidline that > "tabs will be used as much as possible and the tabstop is 8" or something > so that the previous statement that "names should be aligned" will lead to > the minimum number of tabs plus additional spacing being used to do the > alignment. > > I think stating intent, rather than method will reduce a lot of the > quibbling over style issues because people will understand what's being > aimed for and won't bridle so much over dogmatic rules. Not a bad idea. "When defining sub elements of a structure, tabs should be used to allign the name parts so as to ease reading." e.g. [example given in previous mail] (end quote) " > > > Paul Richards > FreeBSD Services Ltd > http://www.freebsd-services.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0109281714190.72157-100000>