Suppose you came across a piece of writing that you knew nothing about just lying there on the table.
假设,你读到一段,你对它一无所知的文章。
You didn't know who wrote it, where, when, how, why, and someone says to you, "I want you to draw some conclusions about that piece of writing.
你不知道是谁,在哪里,什么时间,怎么样,为什么要写,然后你被要求对篇文章,做一个总结。
You want to write the specs so that everybody does in fact know what this piece of code is doing, and you're writing it each time around.
但是你得养成良好的习惯和编程风格,你得撰写规范说明从而保证,每个人都知道这段代码是干什么的。
Again, imagine if I'm a writing a piece of code.
请再次想象一下我正在编写一段代码。
应用推荐