Skip to content

Latest commit

 

History

History
executable file
·
11 lines (8 loc) · 386 Bytes

File metadata and controls

executable file
·
11 lines (8 loc) · 386 Bytes

阅读源代码必须要画图,如果没有图

  • 不知道自己当前处于什么位置,容易迷失方向

碰到一个方法应该先知道它的目的/作用是什么

  1. 最简单的方式:看注释
  2. 没有注释就只能读它的代码了

一个方法有两个层次,读者需要自行判断自己想要的是什么。

  1. 做了什么
  2. 怎么做那件事的