Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.7 KB

code-guidelines.md

File metadata and controls

41 lines (30 loc) · 1.7 KB

Code Guidelines for Geosoft II

If you have any questions contact @nuest.

Documentation

  • Speaking method names and understandable class names are the minumum documnetation, and can actually suffice for documentation.
  • Comment code in English

Commit messages

  • Write commit messages in present tense - for the repo the thing did not happen before you write your message but only when the commit happens.
  • Use descriptive messages, not "update to code", or "bugfix".
  • Add references to task numbers or issue trackers with more information.

Code style

  • Divide and conquer - if you have to scroll to see a complete method/self-contained piece of code, then split it up.
  • Use a common code formatter in your group.
  • Follow naming conventions.
  • Use logging frameworks.

Further resources

Evaluation

  • Each member of the group must have his/her own fork of code.
  • Each member of the group must send at least one pull request and merge another persons pull request.
  • Discuss and document your discussions in a comprehensible manner.