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

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.

主站蜘蛛池模板: 上饶市| 苍山县| 肥城市| 洞口县| 临江市| 两当县| 商城县| 合作市| 安溪县| 永福县| 镇雄县| 镇宁| 合山市| 永济市| 新龙县| 民和| 镇康县| 岫岩| 林西县| 湖北省| 麻江县| 日土县| 晋宁县| 威远县| 武隆县| 噶尔县| 绥芬河市| 西乌| 灵武市| 友谊县| 阜平县| 开远市| 东源县| 临清市| 保定市| 大英县| 秭归县| 宁陕县| 安阳市| 西丰县| 赤水市|