Re: Why?? (prog question)
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.
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 10 之 23 篇):