I want to do little piece of code that's going to do planar geometry.
我想写一小段代码来做平面几何。
Why is this piece of code there?
这段代码是做什么用的?
这个代码稍微有点多。
So what does this line of code do?
这一行代码是干什么的啊?
And what line of code am I on now?
那我现在在伪代码的哪一行呢?
One line of code?! Yes, that's it.
只有一行代码?!是的,就是只有一行代码。
注意那三个代码块。
What's happening in that line of code?
那行代码中发生了什么?
Well, just this line of code here.
看到这一行代码。
I'm looking at that piece of code.
我正在看这段代码。
The next slice of code handles the DSL.
下一个代码片段将处理DSL。
That's the kind of code I want to write.
这就是我想编写的那种代码。
It's just a series of lines of code.
那只不过是一系列一行行的代码。
They also touch the least amount of code.
这些测试占用的代码量也是最少的。
The complete block of code is shown below.
完整的代码块如下所示。
The last bit of code renders the total row.
代码的最后一位呈现总行数。
That piece of code is the boot firmware.
这段代码就是引导固件。
TDD is about design and verification of code.
TDD是为了设计并验证代码。
Every single piece of code must be tested.
每段代码都必须经过测试。
Take the following snippet of code, for instance.
例如,采用以下代码片段。
Let the critical section of code complete its job.
使代码的关键部分完成其工作。
Listing 5 shows an application of code replacement.
清单5显示了一个代码替换的应用程序。
The snippet of code in Listing 1 demonstrates this.
如清单1中的代码片段所示。
Solution: Commit smaller chunks of code frequently.
解决方案:频繁地提交比较小的代码块。
Standardization of code implementing COM interfaces.
标准化的代码执行COM端口。
Would others benefit from reusing this piece of code?
反复使用这段代码对其他代码有好处吗?
This type of code execution is punishing to a database.
这类代码执行对于数据库来说是个负累。
The three classes are arguably one line of code each.
这三个类基本上只需要一行代码。
In Part 1, I concentrated on the basics of code generation.
第1部分的重点放在代码生成的基本原理上。
In Part 1, I concentrated on the basics of code generation.
第1部分的重点放在代码生成的基本原理上。
应用推荐