Hacker News new | ask | show | jobs
by BrS96bVxXBLzf5B 641 days ago
The `src` folder is structured that way because the Android NDK demands it. They're not just chosen by convention, but because the build tool searches for those files and subdirectories.
1 comments

Yeah, that feeds back to the tooling issues that the post I was replying to was talking about.

Ideally tools should support, not dictate. For instance, if you were building a simple source only app with no assets, a good tool should be able to be pointed at, say, a main.c file in the directory and be able to use the contents of the directory containing main.c for other required files and work with no special extra configuration. Supporting a structure to keep things clean is great, Imposing one(whether you use the features it offers or not) is poor.

I might take a look at the NDK and see if it can be circumvented.