Clarify name documentation for mixedCase

This commit is contained in:
William Entriken 2018-01-29 14:45:36 -05:00 committed by GitHub
parent cc1c461fc0
commit 5497a85158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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