-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
T:code-hygieneGeneral cleanup and restructuring of code to provide clarity, flexibility, and modularity.General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
T:code-hygieneGeneral cleanup and restructuring of code to provide clarity, flexibility, and modularity.General cleanup and restructuring of code to provide clarity, flexibility, and modularity.