Skip to content
Pulkit edited this page Apr 1, 2016 · 1 revision

Please follow these conventions if you decide to contribute to this repository.

Naming Convention

  • Function Name: Lower case, multiple words separated by "_", eg: get_variable_name
  • Variable Name: Camel case - i.e. first letter is lowercase, and first letter of all consequent letters is uppercase, eg: imName
  • Class Names: First letter of each word is capitalized, eg: ImData
  • Class Variable: Lower case with a trailing underscore, eg: self.x_
  • Private Function/Variables: Leading Underscore, eg: self._x_

Clone this wiki locally