DearZack/Refactoring

Improving the Design of Existing Code

★ 0Forks 0JavaGitHub ↗Compare

README

Refactoring-Improving the Design of Existing Code

阅读==重构改善既有代码的设计==的笔记

  • 觉得多数情况下,函数应该放在它所使用数据的所属对象内。
  • 尽量去除临时变量。
  • 如果不得不使用switch、case,应该尽量在自己的类中使用,而不是在别人的数据上使用

Contributors

DearZack

Issues