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

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
主站蜘蛛池模板: 和田县| 库尔勒市| 靖远县| 莆田市| 北碚区| 平昌县| 五指山市| 思南县| 萨嘎县| 宝鸡市| 武隆县| 饶平县| 日照市| 五台县| 长子县| 涞源县| 武胜县| 武陟县| 三明市| 太谷县| 富源县| 青岛市| 巴马| 理塘县| 金坛市| 丁青县| 垦利县| 石棉县| 林州市| 武城县| 甘肃省| 本溪市| 南木林县| 营山县| 乌兰浩特市| 晋宁县| 肃北| 莱阳市| 邵阳市| 洛南县| 太原市|