浏览代码

Add a code style rule to make all state variables private (#1390)

Leo Arias 7 年之前
父节点
当前提交
076cb7decd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      CODE_STYLE.md

+ 2 - 0
CODE_STYLE.md

@@ -16,6 +16,8 @@ Any exception or additions specific to our project are documented below.
 
 * Try to avoid acronyms and abbreviations.
 
+* All state variables should be private.
+
 * Private state variables should have an underscore prefix.
 
     ```