= Clarified naming

This commit is contained in:
Matthew Cech
2019-04-12 22:26:25 -07:00
parent e70bd5d8d2
commit 17a9c1980e
+3 -2
View File
@@ -44,6 +44,9 @@ public class MyClass
} }
``` ```
Favor a broad to narrow naming scheme to promote autocomplete grouping. For example, use a name like `userDescriptionHeader` instead of `headerUserDescription` because there may be other variables related to a user or description, but there's likely only one header section of a description.
#### Ternary Operator (`?:`) #### Ternary Operator (`?:`)
Don't. Don't.
@@ -58,5 +61,3 @@ Does something need to be tracked in a database? Make sure the class with the da
#### Tokens, Secrets, etc #### Tokens, Secrets, etc
Things like tokens, private keys, an secrets are kept in the offline package. This file is intentionally excluded from the repo. If it shouldn't be in the repo, put it in the offline package. Things like tokens, private keys, an secrets are kept in the offline package. This file is intentionally excluded from the repo. If it shouldn't be in the repo, put it in the offline package.