I have a project that is becoming unwieldy in size and I’d like to break it up into modules. It doesn’t yet have parts that could be factored out as packages but I don’t want to rule out that it is heading that way. It has, however, reached a point at which I could have some submodules depend on others. However, there doesn’t seem to be a proper way to organize such projects in Julia.
The pattern I see (e.g., in Debug.jl) is to have a single “central” module-file that includes files that (sometimes) contain submodules. In that approach, dependencies between the submodules seem to be encoded in the order in which they are included in the central file. This strikes me as neither very robust/resilient nor scalable. Is there any best practice guide or an example project that people would refer to to illustrate how to structure projects like mine?