Sfoglia il codice sorgente

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

Leo Arias 7 anni fa
parent
commit
076cb7decd
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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.
 
     ```