From 076cb7decd2a5823af23648105e2aa72888fb32a Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Wed, 10 Oct 2018 12:06:22 -0600 Subject: [PATCH] Add a code style rule to make all state variables private (#1390) --- CODE_STYLE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 2eaac05c9..d3337b16f 100644 --- a/CODE_STYLE.md +++ b/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. ```