News for hackers. Stuff that matters.
Re:How to present a GitHub project for your resume (2016) by motet_a on Saturday July 29, 2017 @02:03PM (#14882304)
> 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.

There are no comments on this comment yet.