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

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
主站蜘蛛池模板: 盐亭县| 尼木县| 嫩江县| 巫山县| 龙岩市| 安仁县| 江山市| 桓台县| 长子县| 兰州市| 吉隆县| 平江县| 湛江市| 灌南县| 独山县| 长丰县| 岫岩| 海门市| 甘洛县| 桐梓县| 闸北区| 宜君县| 平阴县| 纳雍县| 昔阳县| 信宜市| 洪湖市| 德格县| 靖边县| 阳信县| 广元市| 玛沁县| 奈曼旗| 波密县| 谷城县| 南昌市| 天长市| 贵阳市| 永善县| 玉树县| 镇康县|