diff options
author | William Entriken <github.com@phor.net> | 2018-01-15 02:53:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 02:53:45 +0800 |
commit | cb5758aa75c0c0281b7dc33aeb68b01902c3e700 (patch) | |
tree | d98ddf5d9a3d01440c8dd61b22aab83f1e7fafab /docs/style-guide.rst | |
parent | 0c20b6da6b6c5f8fa72c389648b5da54c13945f9 (diff) | |
download | dexon-solidity-cb5758aa75c0c0281b7dc33aeb68b01902c3e700.tar.gz dexon-solidity-cb5758aa75c0c0281b7dc33aeb68b01902c3e700.tar.zst dexon-solidity-cb5758aa75c0c0281b7dc33aeb68b01902c3e700.zip |
Prefer CapWords style struct names
Diffstat (limited to 'docs/style-guide.rst')
-rw-r--r-- | docs/style-guide.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst index 66fecff8..9a1b919b 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -704,6 +704,12 @@ Contract and Library Names Contracts and libraries should be named using the CapWords style. Examples: ``SimpleToken``, ``SmartBank``, ``CertificateHashRepository``, ``Player``. +Struct Names +========================== + +Structs should be named using the CapWords style. Examples: ``MyCoin``, ``Position``, ``PositionXY``. + + Event Names =========== |