I recently started work on an application that includes both Python and Java components independently. What is the best way to structure the folder hierarchy for a project, in particular source files?
Now the structure is as follows:
/src -- java packages here /test -- jUnit test packages here /deployment -- Ant scripts here /bin /lib /etc .gitignore
A possible solution would be to have src/java and src/python (as in subdirectories under the src folder). Another solution would be to have two separate directories in the project, for example src_java and src_python . Has anyone worked on such a project? Is there an actual agreement that should be used?
I read the answers to this question. What is the best project structure for a Python application? but the 6th point has not been discussed much in relation to non- Python sources.
source share