Spartronics Programming Style Guide

Consistent and aggressively enforced code style helps reduce errors and conflicting code.

Code Formatting

@TODO - do we still have this? can we do this with vs code?

Pinned to the #programming Slack channel is a file called Code Formatting.zip.

Download that, unzip it, then open Eclipse.

Go to WindowPreferencesJavaCode Style

For each of:

  • "Clean Up"
  • "Formatter"
  • "Organize Imports"

Click Import and browse to the folder. Pick the appropriate file. Make sure "Sponge" is selected as the style for all three.

~~~~

@TODO naming conventions for motor naming (no more left_back...) @TODO section on tips for logging and debugging

results matching ""

    No results matching ""