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

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
主站蜘蛛池模板: 德江县| 昆山市| 长兴县| 舟山市| 金坛市| 浑源县| 拉萨市| 荆门市| 灵寿县| 湖南省| 邯郸市| 江津市| 刚察县| 博客| 建湖县| 二连浩特市| 留坝县| 论坛| 芮城县| 额济纳旗| 顺昌县| 通辽市| 澄城县| 鹤壁市| 澜沧| 凌云县| 黑山县| 玉林市| 大姚县| 五大连池市| 余干县| 彭州市| 柏乡县| 星座| 林西县| 东台市| 盖州市| 韶山市| 孝昌县| 莱西市| 鹤峰县|