官术网_书友最值得收藏!

Chapter 4: Software Projects and How We Organize Our Code

When we write software and our program grows, we will need to organize our code so that it is easy to read when we need to maintain it. An application can be hundreds of thousands or millions of lines of code long, so having it all in a single file is impossible. We will need to pide the code into multiple files, but how will we do this? And even if we put the code into separate files, then we'll have lots of files, so we will need to organize them into folders. How can we do this so that the compiler or interpreter can find them? How will we know where to look when we need to edit a part of the application? In this chapter, we will discuss this and learn about some patterns that we can use.

The following topics will be covered in this chapter:

  • Understanding code modules
  • The concept of a code project
  • Working with package managers to share code
  • Delving into a namespace
  • Using namespaces to avoid naming conflicts
主站蜘蛛池模板: 白城市| 库尔勒市| 江口县| 定日县| 虹口区| 自治县| 满洲里市| 原阳县| 乐业县| 陈巴尔虎旗| 乌苏市| 河西区| 临海市| 鹤峰县| 京山县| 保靖县| 信宜市| 安溪县| 莱州市| 苏尼特右旗| 上杭县| 英吉沙县| 太湖县| 铜山县| 神池县| 西吉县| 汶川县| 青田县| 牟定县| 将乐县| 从江县| 肥城市| 天峻县| 怀集县| 呼图壁县| 大田县| 那曲县| 昌邑市| 镇雄县| 德安县| 孝昌县|