diff options
author | wbt <wbt@users.noreply.github.com> | 2018-01-17 02:08:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 02:08:20 +0800 |
commit | 1948b9687f287ebd34f4ea7c27f8007dca2542db (patch) | |
tree | 21cdab71c1c562fcf48e50a5225afe5cac0387cf | |
parent | fc7733c053b6964ded3827e5639de06624b11223 (diff) | |
download | dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.tar dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.tar.gz dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.tar.bz2 dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.tar.lz dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.tar.xz dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.tar.zst dexon-solidity-1948b9687f287ebd34f4ea7c27f8007dca2542db.zip |
Case convention clarification
Constructors follow the contract naming convention, using CapWords, instead of mixedCase.
-rw-r--r-- | docs/style-guide.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst index 9a1b919b..4c0d44f0 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -719,7 +719,7 @@ Events should be named using the CapWords style. Examples: ``Deposit``, ``Transf Function Names ============== -Functions should use mixedCase. Examples: ``getBalance``, ``transfer``, ``verifyOwner``, ``addMember``, ``changeOwner``. +Functions other than constructors should use mixedCase. Examples: ``getBalance``, ``transfer``, ``verifyOwner``, ``addMember``, ``changeOwner``. Function Argument Names |