From: Brian H. <bh...@sp...> - 2003-10-05 18:24:27
|
On Sun, 5 Oct 2003, Markus Mottl wrote: > Hi, > > since we are at it (syntax flamewars): I'd also propose keeping the > horizontal limit of source lines to 80 characters... > 80 characters at what tab stop? My code rarely breaks the 80 column rule with tabstop <= 4, but with tabstop > 4 breaks it quite regularly. By the way, the paren in column 81 is very annoying to me. It breaks the indentation flow of the code, as my editor just wraps the line. I'd prefer things broken up into multiple lines. But this is only important for code I'm heavily working on at the moment. I don't consider these so much hard and fast rules that the code nazis will haul you away for violating, as strong recommendations that you should only break for a good reason. One thing I will be code-nazi about: major reformatting should be seperate checkins from actual code changes. Checkins of the form "changed the indentation (touching almost every line in file) and fixed a bug" make finding what was changed to fix the bug basically impossible. Brian |