事实上,最优秀的软件工程师是工匠,他们能把能量、独创性和创造力融入到每一行代码中。
In truth, the best software engineers are craftsman, bringing energy, ingenuity, and creativity to every line of code.
uk网站大概有10万行代码。
The guardian.co.uk website comprises about 100,000 lines of code.
所有这些都是在20行代码中完成的。
最初它只有大约36行代码。
清单8显示完成该任务所需的两行代码。
Listing 8 shows the two lines of code needed to do all this.
在顶端,添加列表10所示的两行代码。
At the top, add the two lines of code that Listing 10 shows.
清单1中的机场名称信息通常是一行代码。
Note that the airport name information in Listing 1 usually is a single line of code.
事实上,其中4个步骤仅需修改一行代码。
In fact, for 4 of them, it's as simple as changing one line of code.
下一个示例比较大,大约有100行代码。
The next example is a bit big, coming in at a little under 100 lines of code.
一次评审量要低于200—400行代码。
向一个sqs队列写一条消息需要三行代码。
Writing a message to an SQS queue takes three lines of code.
第一行代码将 field1更改为大写。
用一行代码打印%ENV内容。
只使用了五行代码,我就有了一个可工作的存根。
With a mere five lines of code, I have a workable testing stub.
从清单2中可以看到所有这些只由一行代码实现。
From Listing 2, you can see that all of this was accomplished with just one line of code.
您是否曾仅为了处理浏览器差别而编写几百行代码?
Have you written hundreds of lines of code just to handle browser differences?
譬如,开发者只需添加两行代码就可嵌入一个视频。
To embed a video, for example, a developer only needs to add two lines of code.
在某个示例中,使用16行代码检查一个属性的值。
In one example, 16 lines of code were used to check the value of an attribute.
对于其他补丁,平均每个补丁只需编写17行代码。
Of the remaining patches, special programming amounted to an average of 17 lines of code per patch.
第4行代码将文档更改保存到后端数据存储。
Line 4 saves the document changes to the backend data store.
通过框架,解决一个复杂的问题往往仅需几十行代码。
Using a framework, you can often solve a complex problem with just a dozen lines of code.
第6 - 11行代码对应于上述的步骤a。
接下来的两行代码表示变量t确实指向函数。
The next two lines demonstrate that the variable t really does point to a function.
您需要使用清单9中的两行代码转义请求中的特殊字符。
You need to escape the special characters of the request with the two lines of code in Listing 9.
所以我实际上不需要那个花括号,因为我只有一行代码。
So I actually don't need the curly braces because I only have a single line of code.
第9行代码从请求参数中获取验证token。
Line 9 gets the authentication token from the request parameter.
如果执行了某一行代码,并不一定代表它得到测试。
If a line of code is executed, it doesn't necessarily follow that it's tested.
它构建URI,设置请求头,并在一行代码中调用请求。
It builds the URI, sets the request headers, and invokes the request in one line of code.
清单2 使用 70行代码实现了一个计算器。
The code in Listing 2 realizes a calculator in 70 lines of code.
要添加一条记录定义,将光标移到编辑器的最后一行代码上。
To add a record definition, place the cursor on the last line of code in the editor.
应用推荐