This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dido:public:s_cli:05_contents:01_prt:03_langconst:01_namecovention:start [2021/05/01 21:43] nick ↷ Page moved from dido:public:s_cli:05_contents:03_langconst:namecovention to dido:public:s_cli:05_contents:01_prt:03_langconst:namecovention |
dido:public:s_cli:05_contents:01_prt:03_langconst:01_namecovention:start [2021/07/26 15:30] (current) murphy |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 2.2.1 Naming Conventions ====== | + | ====== 3.1 Naming Conventions ====== |
| [[dido:public:s_cli:05_contents:01_prt:02_basics:start| Return to DIDO CLI Background]] | [[dido:public:s_cli:05_contents:01_prt:02_basics:start| Return to DIDO CLI Background]] | ||
| + | * Names should always be in Title Case (i.e., the first letter of each word is uppercase all others are lower case). See [[dido:public:s_cli:05_contents:01_prt:03_langconst:04_operations:start#titlecase | Title Case]] | ||
| + | * One blank between all words | ||
| + | * Underscores between words should not be used unless it is part of a recognized Name | ||
| + | * Hyphens can be used between words | ||
| + | * Avoid the use of abbreviations (i.e., Id versus Identifier) | ||
| + | * Avoid the use of plurals (i.e., [[dido:public:ra:xapend:xapend.a_glossary:a:argument|Arguments]] versus Argument List, or Uncle versus Uncle List) | ||
| + | |||
| + | Some examples are: | ||
| + | |||
| + | * Identifier | ||
| + | * Transaction Index | ||
| + | * Block Number | ||
| /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | ||