aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Entriken <github.com@phor.net>2018-01-15 02:53:45 +0800
committerGitHub <noreply@github.com>2018-01-15 02:53:45 +0800
commitcb5758aa75c0c0281b7dc33aeb68b01902c3e700 (patch)
treed98ddf5d9a3d01440c8dd61b22aab83f1e7fafab
parent0c20b6da6b6c5f8fa72c389648b5da54c13945f9 (diff)
downloaddexon-solidity-cb5758aa75c0c0281b7dc33aeb68b01902c3e700.tar.gz
dexon-solidity-cb5758aa75c0c0281b7dc33aeb68b01902c3e700.tar.zst
dexon-solidity-cb5758aa75c0c0281b7dc33aeb68b01902c3e700.zip
Prefer CapWords style struct names
-rw-r--r--docs/style-guide.rst6
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
===========