diff options
author | chriseth <chris@ethereum.org> | 2018-01-15 17:54:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 17:54:31 +0800 |
commit | e6d15cd01efc252da1205f36b6e7ab7230f642f8 (patch) | |
tree | d98ddf5d9a3d01440c8dd61b22aab83f1e7fafab | |
parent | 0c20b6da6b6c5f8fa72c389648b5da54c13945f9 (diff) | |
parent | cb5758aa75c0c0281b7dc33aeb68b01902c3e700 (diff) | |
download | dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.gz dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.bz2 dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.lz dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.xz dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.tar.zst dexon-solidity-e6d15cd01efc252da1205f36b6e7ab7230f642f8.zip |
Merge pull request #3392 from fulldecent/patch-4
Prefer CapWords style struct names
-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 =========== |