mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Clarify name documentation for mixedCase
This commit is contained in:
parent
cc1c461fc0
commit
5497a85158
@ -684,7 +684,7 @@ naming styles.
|
|||||||
* ``mixedCase`` (differs from CapitalizedWords by initial lowercase character!)
|
* ``mixedCase`` (differs from CapitalizedWords by initial lowercase character!)
|
||||||
* ``Capitalized_Words_With_Underscores``
|
* ``Capitalized_Words_With_Underscores``
|
||||||
|
|
||||||
.. note:: When using abbreviations in CapWords, capitalize all the letters of the abbreviation. Thus HTTPServerError is better than HttpServerError.
|
.. note:: When using initialisms in CapWords, capitalize all the letters of the initialisms. Thus HTTPServerError is better than HttpServerError. When using initialisms is mixedCase, capitalize all the letters of the initialisms, except keep the first one lower case if it is the beginning of the name. Thus xmlHTTPRequest is better than XMLHTTPRequest.
|
||||||
|
|
||||||
|
|
||||||
Names to Avoid
|
Names to Avoid
|
||||||
|
Loading…
Reference in New Issue
Block a user