Skip to content

Commit

Permalink
Clarify name documentation for mixedCase
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent authored Jan 29, 2018
1 parent cc1c461 commit 5497a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/style-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ naming styles.
* ``mixedCase`` (differs from CapitalizedWords by initial lowercase character!)
* ``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
Expand Down

0 comments on commit 5497a85

Please sign in to comment.