Why?? (prog question)
Chuck Robey
chuckr at telenix.org
Wed Apr 1 13:27:05 PDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lowell Gilbert wrote:
> Chuck Robey <chuckr at 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-----
More information about the freebsd-chat
mailing list