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

Part Two. Software Complexity and its Causes

Chapter 5. Clues to Complexity

Here are clues that tell you that your code may be too complex:

  1. You have to add "hacks" to make things keep working.
  2. Other developers keep asking you how some part of the code works.
  3. Other developers keep misusing your code, and causing bugs.
  4. Reading a line of code takes longer than an instant for an experienced developer.
  5. You feel scared to modify this part of the code.
  6. Management seriously considers hiring more than one developer to work on a single class or file.
  7. It's hard to figure out how to add a feature.
  8. Developers often argue about how things should be implemented in this part of the code.
  9. People make utterly nonsensical changes to this part of the code very often, which you catch only during code review, or only after the change has been checked in.

-Max

主站蜘蛛池模板: 晋宁县| 安义县| 客服| 安化县| 曲阳县| 安塞县| 日土县| 威远县| 冷水江市| 东兰县| 大田县| 鄂尔多斯市| 周宁县| 开原市| 河津市| 永寿县| 宜丰县| 布尔津县| 洞口县| 铜鼓县| 府谷县| 泰来县| 小金县| 达拉特旗| 万盛区| 阳泉市| 准格尔旗| 青岛市| 六枝特区| 枞阳县| 乐平市| 江安县| 安多县| 荥经县| 临澧县| 信丰县| 济源市| 贺州市| 濉溪县| 龙井市| 平陆县|