Why organize projects inside a src folder?

后端 未结 2 1865
别那么骄傲
别那么骄傲 2021-02-18 20:07

First of all, I would like to make it clear that I know that the src folder is not required. Indeed, one can simply create manually one directory for the project, m

2条回答
  •  灰色年华
    2021-02-18 20:28

    You usually have more files inside your project that are not source code related like:

    • README.md
    • CONTRIBUTING.md
    • .gitignore
    • LICENSE
    • Build scripts
    • Docs and tools folders, etc.

    And a tons of others files that depend on your configuration. So, if you have a src folder, you don't need to mix your source code files with those.

提交回复
热议问题