Changes

Jump to: navigation, search

Programming guidelines

187 bytes added, 07:58, 18 September 2007
no edit summary
As more and more people start editing the code, we need to establish a few guidelines to make sure the code remains maintainable.
 
* Do not use tabs. Use whitespace. If you use an editor with tabs, go into the preferences, and change the tab behavior to a number of spaces. In GRAMPS we use 4 spaces for indentation.
* Class headers. Each class should have a simple header to help mark it in the file. This is not used for documentation - it is used to help find the class when multiple classes exist in the same file.

Navigation menu