-
Notifications
You must be signed in to change notification settings - Fork 1
Naming Conventions
Mason Bially edited this page Mar 19, 2014
·
1 revision
These are the new naming conventions per The Grand Refactor.
Classes are CamelCase WithAStartingUpper.
Function arguments and variables are lower_case_with_underscores.
Class variables and functions are lowerStartingCamelCase.
- protected/private variables: _lowerStarteringCamelCaseWithLeadingUnderscore.
- constant: c_lowerStarting.
- static: s_lowerStarting (unless public on a namespace/object, in which case, normal variable rules).
Words which would otherwise be all capital letters should be CamelCased or lower cased as normal:
-
FBB Manager:FbbManager,fbb_manager
- Decorators are always completelylowercasewithnounderscores.
- Module: Modules are what we are managing here (was plugin).