-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace and source location rationalization [4] #491
Comments
There is a strong case to be made that we should limit as much as possible the use of nested namespaces, especially in public interfaces. See, for example: |
If we split the source/header paths into a front end path and back end path, then I think the directory structure of each should match as closely as possible. For example, if the front end places all cell-type specific headers in By splitting the source front/back, we do introduce additional maintenance burden and mental overload in finding files. |
I understand the motivation for seperating the front end headers, and only installing them, but it will make development of the code more difficult. |
If we make sure our example sources only have the public headers in their include paths, we should be able to catch at build time any instances where we forget to put a necessarily public header in the correct directory. |
Addresses part of Issue #98.
As a prelude to making an install target for Arbor with appropriate paths etc., we need to split out public includes from private includes, and ideally ensure a clean separation between library sub-units within the source tree. This should be coupled with the rationalization of namespace usage within Arbor, so that it is straightforward to find the code implementing a feature living in a sub-namespace
foo
in a correspondingly named subdirectory in the code base.There is an existing sketch of a proposal on the wiki.
The text was updated successfully, but these errors were encountered: