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

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
主站蜘蛛池模板: 子洲县| 北海市| 通榆县| 禄劝| 肥乡县| 雷波县| 金阳县| 梨树县| 惠东县| 奉新县| 阿鲁科尔沁旗| 乐昌市| 林芝县| 江孜县| 康定县| 绥棱县| 麻城市| 防城港市| 延庆县| 五大连池市| 广汉市| 元谋县| 远安县| 景德镇市| 松潘县| 汉阴县| 胶州市| 肃南| 昆明市| 柘荣县| 谷城县| 丰台区| 秀山| 博白县| 敖汉旗| 峨山| 洛南县| 利津县| 象山县| 金山区| 万山特区|