Skip to content

style: consider using file structure instead of ASCI lines #3619

@ebuchman

Description

@ebuchman

We use lines like:

//-------------------------------------

in many places in the code to separate domains within a file. For instance a struct and its methods might be separate from those of another struct by such a line.

A few folks have expressed preference to use file structure instead of such ASCII for the domain separation. This would mean each struct and its methods would get it's own file, rather than being separated in the same file by these separators.

While this is appealing at a theoretical level, it might result in serious proliferation of files that could just make the code harder to navigate.

We should survey the occurrences of these separators and see if the domain separation would be better served by distinct files.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:code-hygieneGeneral cleanup and restructuring of code to provide clarity, flexibility, and modularity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions