We all know that the actual development of the code contains a lot of files, if all the files are placed in the same directory, it is basically a mess, maintenance is very troublesome and arduous, dizziness and brain swelling. Below, I draw a picture to look at the picture according to own actual experience:
Many times, the Third_part and comm in the circle can be placed in the application directory, at which point the application directory of the two comm can be merged to form a comm.
Of course, there are other directories, such as Doc,tool and so on, all need to be placed in a relatively reasonable logical position. Where to put it, you need to think about it, such as a function, you put too local, it will cause a copy of the function code in different directories, if put to too global, but also may have impact on other business. In short, a comprehensive trade-off is needed.
Don't say much, and feel it.