Skip to content

Variable name code style #251

@th-we

Description

@th-we

I would like to change the following concerning variable naming:

  • Eliminate snake case variable names and replace with camel case.
  • Make all global variables (Self._property:* = ...) upper case, all local variables lower case.
  • Remove the Self._property: prefix when reading global variables. Upper case will already make clear that this is a global variable.
  • Eliminate re-assignments of global variables to local ones (like score = ActiveScore;), unless they are accessed a lot locally and it's clear that re-assignment has benefits (readability or performance).
  • Document these conventions.

Anything else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions