Most Powerful Open Source ERP

Guideline Method Name Uses Mixed Case And Begins With Verb

To ensure consistent naming patterns.
  • Last Update:2017-04-06
  • Version:001
  • Language:en

Method Name Uses Mixed Case And Begins With Verb

Methods (Functions are also methods) are defined for each class in python, using mixedCase and starts with a verb.

Good Examples:

getTitle
getBasePrice
edit
setPrice
convertStringToFloat

Exception if ZMI:

Good Examples:

manage_doMethodName

Bad Examples:

get_title
get_base_price
basePrice
stringToFloat