utra-robosoccer / soccer-embedded

Collection of embedded programs for an autonomous humanoid soccer robot
http://utrahumanoid.ca
32 stars 8 forks source link

Style guide purge + finalize style conventions+ CONTRIBUTING.md document #158

Closed rfairley closed 5 years ago

rfairley commented 5 years ago

Describe the feature

From the maintenance tracker comment (#121):

Style purge—revise the programming style guide to make it much shorter. Make the focus on writing code that has a consistent look and feel, then purge all our code to follow these look and feel rules (maybe via an automated tool...?)

Adding a CONTRIBUTING.md (or other name) document in the top level directory of the respository might help make it more visible too.

Timeline Last week of January - have discussion at team meeting to show proposed changes and get feedback First week of February, before next "release" - merge

Additional information Requires discussion with team to agree on it and get feedback (ideally 1 week before intending to merge these changes).

rfairley commented 5 years ago

Also from maintenance tracker which we can handle here:

Decide on file name and namespace conventions Reason: Better to have this style be more consistent

rfairley commented 5 years ago

Some widely-used style guides and standards where we can get inspiration:

Tools that implement checks for style:

Overall we should reference a format from here https://en.wikipedia.org/wiki/Indentation_style (we've just used K&R up to now).