Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2009 18:08:40 -0400
From:      Lowell Gilbert <freebsd-chat-local@be-well.ilk.org>
To:        freebsd-chat@freebsd.org
Subject:   Re: Why??  (prog question)
Message-ID:  <44vdpo81sn.fsf@be-well.ilk.org>
In-Reply-To: <49D3CE33.8010004@telenix.org> (Chuck Robey's message of "Wed\, 01 Apr 2009 16\:27\:31 -0400")
References:  <20090331025726.GA10888@thought.org> <20090331112122.ae329221.freebsd@edvax.de> <49D202F0.9010104@utoronto.ca> <20090331140845.a1ece3c0.freebsd@edvax.de> <alpine.BSF.2.00.0903311623210.19609@wojtek.tensor.gdynia.pl> <49D24EC8.7030507@gmail.com> <49D27D8B.2070607@telenix.org> <44y6uk1s7g.fsf@lowell-desk.lan> <49D3CE33.8010004@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey <chuckr@telenix.org> writes:

> Lowell Gilbert wrote:
>> Chuck Robey <chuckr@telenix.org> writes:
>> 
>>> The only real sin is not sticking to one style per project.
>> 
>> Or at *least* per file.
>
> Umm, no, per project.  Folks are too pushed into errors when a project has 29
> different styles.

If you write all your code from scratch, you can do that.  
I don't have experience with non-trivial projects that *don't* 
include substantial amounts of third-party code.  Reformatting
third-party code to fit your style is a mistake if you want to 
ever take another drop of that code.

When there's more than one style in a particular file, however, 
somebody needs to be slapped with a dead fish.




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