Why?? (prog question)

Chuck Robey chuckr at telenix.org
Fri Apr 3 12:50:42 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lowell Gilbert wrote:
> Chuck Robey <chuckr at telenix.org> writes:
> 
>> 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.
> 
> 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.

I recall, long while back, using CTree database code, but I never added to their
source code files, never modified their files at all, so maybe I should have
said "locally written" code, because you obviously can't control what your boss
buys after 3 drinks.  Or 5.

> 
> _______________________________________________
> freebsd-chat at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-chat
> To unsubscribe, send any mail to "freebsd-chat-unsubscribe at freebsd.org"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknWaLQACgkQz62J6PPcoOk56QCgkyce1IUhg3UfNSWvGDsJgHLj
kSQAn34mnpmWu+w7NIOfMhcu58P6Qu8Y
=Sje6
-----END PGP SIGNATURE-----


More information about the freebsd-chat mailing list