From cb5758aa75c0c0281b7dc33aeb68b01902c3e700 Mon Sep 17 00:00:00 2001 From: William Entriken Date: Sun, 14 Jan 2018 13:53:45 -0500 Subject: [PATCH] Prefer CapWords style struct names --- docs/style-guide.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/style-guide.rst b/docs/style-guide.rst index 66fecff81..9a1b919b0 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 ===========