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

Aspects related to modifiability

We have already seen some aspects of modifiability in the previous chapter. Let's discuss this a bit further and look at some of the related quality attributes that are closely related to modifiability:

  • Readability: Readability can be defined as the ease with which a program's logic can be followed and understood. Readable software is code that has been written in a specific style, following guidelines typically adopted for the programming language used, and whose logic uses the features provided by the language in a concise, clear way.
  • Modularity: Modularity means that the software system is written in well-encapsulated modules, which do very specific, well-documented functions. In other words, modular code provides programmer friendly APIs to the rest of the system. Modifiability is closely connected to reusability.
  • Reusability: This measures the number of parts of a software system, including code, tools, designs, and others, that can be reused in other parts of the system with zero or very little modifications. A good design would emphasize reusability from the beginning. Reusability is embodied in the DRY principle of software development.
  • Maintainability: Maintainability of a software is the ease and efficiency with which the system can be updated and kept working in a useful state by its intended stakeholders. Maintainability is a metric, which encompasses the aspects of modifiability, readability, modularity and testability.

In this chapter, we are going to go deep into the readability, reusability, and modularity aspects. We will look at these one by one from the context of the Python programming language. We will start with readability first.

主站蜘蛛池模板: 武功县| 通海县| 图片| 同仁县| 蒙山县| 西安市| 阿巴嘎旗| 江西省| 班玛县| 游戏| 东乌珠穆沁旗| 北碚区| 墨玉县| 恭城| 洛扎县| 江川县| 婺源县| 军事| 裕民县| 仁化县| 钟祥市| 伊金霍洛旗| 灵寿县| 自治县| 彭泽县| 台东县| 璧山县| 蓝山县| 樟树市| 通榆县| 越西县| 土默特左旗| 元阳县| 安新县| 巫溪县| 横峰县| 正安县| 崇信县| 肥西县| 乐至县| 中卫市|