My view on the organization structure of Code Engineering directory __S2:

Source: Internet
Author: User

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.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.