这个代码应该做什么?
Now you can execute this code.
现在可以执行该代码了。
Here is a snippet of this code.
下面是该代码的一个片段。
Let's review this code snippet.
让我们研究这一代码片段。
Let's refactor this code a bit.
让我们稍微对该段代码进行重构。
For example, consider this code.
举例来说,考虑以下代码。
在清单5 中查看此代码。
So, what's going on in this code?
那么,代码中发生了什么?
So this code is, in fact, correct.
所以这个代码实际上是正确的。
You should end up with this code.
您应该以以下代码结尾。
But this code may cause problems.
但以下代码会导致问题。
What's so terrible about this code?
这段代码中哪些部分非常糟糕?
按前面一样运行该代码。
我们分析一下这段代码。
Let's step through this code snippet.
让我们逐步研究这一代码片段。
You can see this code in Listing 4.
您可在清单4中查看代码。
Now you're ready to compile this code.
现在,您已经为编译此代码做好了准备。
现在来看看这段代码。
这段代码有什么功能?
So let's look at this code for a second.
那么让我们来看看这个代码吧。
Note that this code is fully thread safe.
注意这样的代码是完全线程安全的。
You'll note several new pieces to this code.
您会注意到这个代码中的几个新部分。
Is the purpose of this code easy to explain?
该代码的目的是否容易解释?
Line 26 is the important piece of this code.
第26行是这段代码的重要部分。
Can you spot what is wrong with this code?
您可以确定以下代码的问题吗?
Let's go element by element through this code.
我们来逐个看看这个代码中的元素。
At present this code is simply a set of ideas.
目前该代码仅是一组想法而已。
So far, this code looks fairly straightforward.
到目前为止,这段代码看起来非常简单易懂。
We can ask ourselves, "What should this code do?"
我们可以问问自己,“这段代码应该做什么?”
All of this code is included in the code archive.
这段代码全都包含在代码归档文件中。
应用推荐