Re: Why?? (prog question)

看板FB_chat作者時間17年前 (2009/04/06 11:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串23/23 (看更多)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lowell Gilbert wrote: > 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. 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > To unsubscribe, send any mail to "freebsd-chat-unsubscribe@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----- _______________________________________________ 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"
文章代碼(AID): #19sN7600 (FB_chat)
討論串 (同標題文章)
文章代碼(AID): #19sN7600 (FB_chat)