|
|
|
|
|
by motet_a
3252 days ago
|
|
> There is one project structure to rule them all. There MUST be
separate directories for source, test, libraries, compiled
binaries, etc… I don’t think so. Look at the Git sources (https://github.com/git/git).
Most of the C source files are in the top directory. Some other people like to write unit test in the same directories
as the source files, by adding a `.test` suffix to each source
file name. Some other people like to embed unit tests in source files, “à
la” Rust. There is no One True rule. Not organizing things the way you do is not necessarily bad. |
|