A Sane Directory Structure for Software Projects
(trop.in)
from codeinabox@programming.dev to programming@programming.dev on 16 Mar 16:05
https://programming.dev/post/47302586
from codeinabox@programming.dev to programming@programming.dev on 16 Mar 16:05
https://programming.dev/post/47302586
#programming
threaded - newest
The high-level directory structure looks reasonable, but every language and build tool has its own recommended structure that people should use instead. For example, by default,
cargolooks for asrc/main.rsorsrc/lib.rsas an entrypoint.uvexpects one of a couple different project structures before you need to touch thepyproject.toml. C# will create namespaces for each of these nested subdirectories if you don’t carefully configure it in your.csprojfile. And so on.It’s best to just use whatever’s recommended for your environment by your tools. Maybe this directory structure works well for Guile Scheme, but I wouldn’t touch it at all if I were writing Rust.