Skip to content

Naming conventions #245

@tlunet

Description

@tlunet

I noticed that pySDC has its own naming style for classes and modules, that is lower case for classes and CamelCase for modules, even if some classes use CamelCase (for instance, exceptions) and some module use lower case (for instance, helpers).

It is not really following the python standard (see https://peps.python.org/pep-0008/#prescriptive-naming-conventions), and I wonder if this is a deliberate choice that should be followed or not (since I already used the Python standards for the Collocation, NodesGenerator and LagrangeApproximation classes, but still kept the pySDC module naming ...).

Should we try to choose one given convention and stick on it ?

PS : as you can imagine, I would strongly suggest using Python standards 😅

PPS : I also acknowledge that I don't always follow Python standards, since I'm very found of the mixedCase for naming variables and functions. But I will comply to what the community decides

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