I want to do little piece of code that's going to do planar geometry.
我想写一小段代码来做平面几何。
Why is this piece of code there?
这段代码是做什么用的?
One line of code … Zip! Solved!
只用1行代码……打包!解决!
这个代码稍微有点多。
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.
只有一行代码?!是的,就是只有一行代码。
But it's a lot of code to write.
但是,有许多代码要编写。
总的代码行数:76,621。
It's also many fewer lines of code.
同时也会减少代码量。
I'm looking at that piece of code.
我正在看这段代码。
Bad habit: Similar sections of code.
不良习惯:类似的代码段。
It's just a series of lines of code.
那只不过是一系列一行行的代码。
What's happening in that line of code?
那行代码中发生了什么?
The next slice of code handles the DSL.
下一个代码片段将处理DSL。
That's the kind of code I want to write.
这就是我想编写的那种代码。
Type in the following two lines of code.
输入如下的两行代码。
Look closely at the second line of code.
仔细看看第二行代码。
Locate these comments and lines of code.
定位这些注释和代码行。
They also touch the least amount of code.
这些测试占用的代码量也是最少的。
I want to write a little piece of code.
我想写一小段代码。
Measure: Source lines of code (SLOC).
度量:源代码行数(SLOC)。
That piece of code is the boot firmware.
这段代码就是引导固件。
The complete block of code is shown below.
完整的代码块如下所示。
How do I write a piece of code for that?
我该怎么写这块代码呢?
This type of code is easy to read and test.
这种代码很容易阅读和测试。
Every single piece of code must be tested.
每段代码都必须经过测试。
Well let's look at the next piece of code.
我们来看看下一段代码。
Well let's look at the next piece of code.
我们来看看下一段代码。
应用推荐