Enhancement #1818

Change and/or enforce naming conventions in rsb-python

Added by J. Moringen about 10 years ago. Updated about 10 years ago.

Status:NewStart date:03/21/2014
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Python
Target version:rsb-1.0

Description

There are two basic issues:

  1. We have a mix of self._VAR and self.__VAR for private attributes. This should probably be unified after consulting the relevant Python documentation.
  2. PEP8 suggests a different naming convention for functions than we currently use. We should probably consider switching.

History

#1 Updated by J. Wienke about 10 years ago

There is a distinction between protected and private variables with 1 and 2 underscores.

#2 Updated by J. Moringen about 10 years ago

Johannes Wienke wrote:

There is a distinction between protected and private variables with 1 and 2 underscores.

We probably still have to check that we respect this distinction consistently.

#3 Updated by J. Moringen about 10 years ago

  • Description updated (diff)

Also available in: Atom PDF