Skip to content

unpythonic java-style getters and setters #18

@Ablesius

Description

@Ablesius

See http://docs.quantifiedcode.com/python-anti-patterns/correctness/implementing_java-style_getters_and_setters.html

One example is here:

The more pythonic way would be to access the attributes directly, or use the @property decorator.

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