Browse Source

Document braces and newline

master
Christopher 8 years ago
parent
commit
126e38292a
  1. 1
      Docs/fungus_docs/coding_standard.md

1
Docs/fungus_docs/coding_standard.md

@ -61,6 +61,7 @@ Things to note:
- All serialized fields should have a Tooltip attribute. This doubles as code documentation for the field.
- All methods should be declared virtual and use protected instead of private. This allows for easy inheritance and extension (at the cost of some performance).
- All public members of a class (including public static & delegate types) should be placed inside a 'Public members' region for easy access.
- Braces go on a newline and use spaces exclusively instead of tabs.
# Coding best practices # {#coding_best_practices}

Loading…
Cancel
Save