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

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

主站蜘蛛池模板: 泸定县| 绥宁县| 汉川市| 东平县| 肇州县| 安丘市| 南江县| 长汀县| 大余县| 张家界市| 突泉县| 区。| 陵川县| 洪湖市| 无为县| 漠河县| 夏河县| 都匀市| 襄城县| 扎鲁特旗| 察隅县| 望城县| 石景山区| 四川省| 南丰县| 呼伦贝尔市| 房产| 安顺市| 铅山县| 高雄市| 祁阳县| 安乡县| 嵊泗县| 韩城市| 博兴县| 玛多县| 崇明县| 嘉祥县| 靖州| 海伦市| 蒙山县|