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

Chapter 2. Writing Modifiable and Readable Code

In the first chapter, we discussed the various aspects of software architecture and covered some definitions of the terms involved. We looked at the different aspects of software architecture that an architect should be concerned with. Toward the end of the chapter, we discussed the various architectural quality attributes that an architect should focus on when building a system. We went in some detail into each of these attributes and looked at some definitions and various concerns that should be kept in mind when architecting a system for achieving these attributes.

From this chapter onward, we will focus on each of these quality attributes one by one, and discuss them in detail, per chapter. We will delve deep into an attribute—such as its various factors, techniques to achieve it, aspects to keep in mind when programming toward it, and so on. Since our focus in this book is on Python and its ecosystem, we will also look at various code examples and third-party software support that Python provides for achieving and maintaining these quality attributes.

The focus of this chapter is on the quality attribute of modifiability.

This chapter will cover the following topics:

  • What is modifiability?
  • Aspects related to modifiability
  • Understanding readability
  • Fundamentals of modifiability—cohesion and coupling
  • Exploring strategies for modifiability
  • Metrics—tools for static analysis
  • Refactoring code
主站蜘蛛池模板: 十堰市| 嘉禾县| 上杭县| 新巴尔虎左旗| 裕民县| 巴东县| 盐池县| 沿河| 新疆| 连城县| 磐石市| 礼泉县| 原平市| 区。| 建瓯市| 德兴市| 夏津县| 资兴市| 怀柔区| 姜堰市| 玛曲县| 五台县| 临朐县| 大方县| 亳州市| 兰溪市| 望奎县| 调兵山市| 嘉荫县| 普格县| 丰宁| 江陵县| 盐边县| 波密县| 恭城| 建瓯市| 资兴市| 陆丰市| 舞阳县| 兴仁县| 晴隆县|