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

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
主站蜘蛛池模板: 扬州市| 尚义县| 新安县| 永善县| 项城市| 锡林郭勒盟| 开鲁县| 简阳市| 阜新市| 冕宁县| 武乡县| 濮阳县| 永善县| 黄大仙区| 鱼台县| 麦盖提县| 永安市| 台江县| 山阳县| 大洼县| 蛟河市| 登封市| 治县。| 南充市| 青神县| 思南县| 瓮安县| 城口县| 崇州市| 玛纳斯县| 阜康市| 罗江县| 永修县| 滁州市| 井陉县| 温泉县| 株洲县| 星座| 手游| 鹿邑县| 南投市|