From: David J. K. <dke...@ko...> - 2002-07-25 14:45:33
|
On Thu, Jul 25, 2002 at 07:19:20AM -0700, Matthew Bevan wrote: > Oh my. Alrighty then. How would you recommend we revert? Just do a > astyle --style=kr -s2 --convert-tabs to get it back, or do some CVS > trickery? Trickery and version control should never be used in the same sentence :) The right way to "back out" the change is to not back it out at all, just run everything through astyle again and commit a new rev. > Tabs are religious to you, opening braces are to me. Still writing... > arg.. Opening braces? Do you mean consistent use or where they're located? I like K&R because it saves screen real estate and because I've been using it for the last 17 years, but if you'd rather see opening braces on their own line (Allman style), I can live with that. Whitesmith style (opening brace on new line *and* indented to match the enclosed block) kinda drives me nuts though and gnu style (indent the opening brace one level and then indent the enclosed block another level) is almost as annoying :) In fact when it comes to the GNU C style guide I think Torvalds had the right idea ... "First off, I'd suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, it's a great symbolic gesture." -- Dave Kessler President - Kopsis, Inc. http://kopsisengineering.com |