Contents

Editor preferences

Set your editor to the following settings to avoid common code inconsistencies and dirty diffs:

Consider documenting and applying these preferences to your project’s .editorconfig file or your editor options.

See also

Comments

Code is written and maintained by people. Ensure your code is descriptive, well commented, and approachable by others. Great code comments convey context or purpose.

Be sure to write in complete sentences for larger comments and succinct phrases for general notes.

Naming conventions

Word Choice

Abbreviations and Acronyms

Case Sensitivity