Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2009 16:27:31 -0400
From:      Chuck Robey <chuckr@telenix.org>
To:        Lowell Gilbert <freebsd-chat-local@be-well.ilk.org>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: Why??  (prog question)
Message-ID:  <49D3CE33.8010004@telenix.org>
In-Reply-To: <44y6uk1s7g.fsf@lowell-desk.lan>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.  I don't like folks who try to make rules for the entire world
(and they do, you know it and I know it) but it is a big help in making all
stuff inside one project be formatted the same.  I could really easily give you
obvious examples of where this is needed (consider the include files for a
source file).  Yes, certainly, there are exceptions to this, but it's correct
(being per project) in the huge majority of cases, right?

Maybe I don't have enough trust in some folks, that they'll make the right
decision.  About 1/3 of the folks I used to teach C to, I had to drop, because
they couldn't (wouldn't) accept the need to stay with a style, and that was only
my rules (in teaching) per file.  If I can't get that percentage of folks to
appreciate things, I guess I just don't trust everyone to make sense on this.

I had some real arguments from some people on this, it makes me sure that they
were serious, not just looking to stop what had turned out to be a boring
subject for themselves.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknTzjMACgkQz62J6PPcoOkO7wCfVv4IzN+euqIsND22g2aS31z8
vxoAnAiFN2YFyuhA+d2nN34YTdbkKCdP
=jjlq
-----END PGP SIGNATURE-----



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