《The Art of Readable Code》的笔记-第137页
- 章节名：rubber ducking--下次我就对着隔壁的妹子来调bug
- 页码：第137页 2012-12-23 10:24:21
哈哈，对着一支塑料橡皮鸭子调bug，好有想象力。不过，我觉得对着边上的妹子更有情调。 一会，跟边上的妹子商量一下，看以后能否互相调bug～～Reference： http://en.wikipedia.org/wiki/Rubber_duck_debuggingBut this process of “saying things in plain English” is applicable outside of just writing code. For example, one college computer lab policy states that when a student needs help debugging his program, he first has to explain the problem to a dedicated teddy bear in the corner of the room. Surprisingly, just describing the problem aloud can often help the student figure out a solution. This technique is called “rubber ducking.”
ziyoudefeng对本书的所有笔记 · · · · · ·
A lot of coders donâ€™t like to write comments because it feels like a lot of work to write...
说明 · · · · · ·