Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [RFC] Looking for opinions on accepting refactoring patches



To what Oliver said, I would just add:  I'm much happier accepting
patches that stay somewhat close to the code formatting style that's
already in use, which is pretty lax in general but boils down to:
- don't use // comment to end of line
- don't use CamelCaps except for typedef names
- indent 4 spaces with 8-space tab stops if you use tabs at all
- stick to 80 columns where possible (yes, we're old fogeys)
- use whitespace after keywords and commas and around open/close
braces, but not after open or before close parens and brackets
- violate that latter for readability, especially with extra line breaks



Messages sorted by: Reverse Date, Date, Thread, Author