This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
howtos:toolcoding:good_practices [2010/11/08 16:30] marcus.williams |
howtos:toolcoding:good_practices [2010/11/08 16:33] marcus.williams |
||
---|---|---|---|
Line 43: | Line 43: | ||
Stub: best practices for variable naming, esp. locals FIXME | Stub: best practices for variable naming, esp. locals FIXME | ||
- | In general, variable description modifiers should be used as suffixes, rather than prefixes (e.g. //dwelling unit share// rather than //share of dwelling units//). The same is true for variable names | + | In general, variable description modifiers should be used as suffixes, rather than prefixes (e.g. //dwelling unit share// rather than //share of dwelling units//). The same is true for variable names, but for these modifier abbreviations are recommended to keep name lengths manageable (e.g. ''dwellUnitShr''). A table of suggested abbreviations is provided below: |
^ Descriptor ^ Abbreviation ^ | ^ Descriptor ^ Abbreviation ^ |