In truth, the best software engineers are craftsman, bringing energy, ingenuity, and creativity to every line of code.
事实上,最优秀的软件工程师是工匠,他们能把能量、独创性和创造力融入到每一行代码中。
每行使用一个关键词。
The perl -n command runs the program once on every line of the input file.
perl -n命令针对输入文件的每一行运行一次程序。
Xargs reads data from a pipe and runs a specified command for every line read.
xargs命令可从管道中读取数据并为每行读取内容运行指定命令。
The main loop is entered to read every line on STDIN and extract relevant information.
进入主循环以读取STDIN 中的每一行并提取相关信息。
I read the lyrics of each CD he brought home, pointing out every line I had a problem with.
我看了他带回家的每张CD的歌词,指出每一个我觉得有问题的句子。
Ideally, every line of code should be read by at least two people: its author, and a reviewer.
理想情况下,每一行代码都要被两个人看过,作者和审核人。
We need to verify that the program always prints every line of the report and never skips a line.
我们需要确保程序总是打印报告的每一行,从不遗漏。
Rational PurifyPlus informs him of any memory leaks, and ensures that every line of code is tested.
RationalPurifyPlus向他通告任何内存泄漏,确保每一行代码都被测试。
PYX uses the first character of every line to represent a markup event such as an open-tag or attribute.
PYX使用每一行的第一个字符代表一个标记事件,比如起始标签或者属性。
Don't fall into the trap of believing that because you can't test every line of code, you must test nothing.
不要掉入相信因为不能够测试每行代码所以就不能够测试任何东西的陷阱。
then the function would be called once for each line in the range (in this case, for every line in the file).
那么将针对范围内的每一行调用一次函数(在本例中,指的是文件中的每一行)。
You also have to review every line of code to find this particular hole, assuming you understood that it existed.
假设您了解缓冲区溢出问题的存在,则您也不得不检查每一行代码以发现这个特殊的漏洞。
As you can see, the wrapping code can look complicated, so we thank the code generator for every line it writes for us.
正如您所看到的那样,封装代码看上去复杂,所以我们感谢代码生成器为我们编写的每一行。
Nearly every line is quotable, but I'll repeat only this: "a program should follow the 'Law of Least Astonishment."'
书中字字珠玑,但是我只想复述这句:“程序应该符合'最小惊异原则'。”
He'll sign his name on every line, he'll check all the boxes, he'll put Numbers in where he thinks there should be Numbers.
他会把名字签在每一条线上,他会检查所有的项目,他会把数字写在他认为应有数字的地方。
Because it finds at least one match to its two-character pattern on every line, the grep command outputs every line in the input file.
由于会在每行至少找到此双字符模式的一个匹配项,因此grep命令会输出输入文件中的每个行。
What if every line of production code were reviewed by somebody who was intimately familiar with what the code was supposed to be doing?
如果每行生产代码都被一个对代码的意图非常熟悉的人复查过会怎样?
The function then grabs every line in the current file (getline(1,'$')) and calls the built-in writefile() function to write them to disk.
函数随后获取当前文件(getline(1,'$'))中的每一行并调用内置的writefile() 函数来将它们写入到磁盘中。
Theoretically, if you write code only to satisfy an existing test, then by definition you can achieve coverage for every line of code you write.
理论上说,如果为满足现有的测试而撰写代码,那么您肯定能够实现对您所写的每行代码的覆盖。
Theoretically, if you write code only to satisfy an existing test, then by definition you can achieve coverage for every line of code you write.
理论上说,如果为满足现有的测试而撰写代码,那么您肯定能够实现对您所写的每行代码的覆盖。
The lcov tool generates an entire HTML tree that contains every line of code in the kernel and data on how many times, if any, each line was executed.
lcov工具会生成一棵完整的HTML 树,其中包含有内核中代码的每一行以及关于每一行执行了多少次的数据(如果有的话)。
You can invoke any standard Vim command-including call-with a preliminary line range, which causes the command to be repeated once for every line in the range.
可以使用一个初始的行范围调用任何标准的Vim命令(包括call),这将针对范围中的每一行重复一次命令。
In this example, the special replacement form will be the same printf for every line, so it is pre-stored in the FORMATTER variable before the second for loop begins.
在本例中,特殊替换形式对于每一行来说都将是相同的printf,因此它将在第二个for循环开始之前被预先存储到FORMATTER变量中。
Tying back to another statement from his "stone age" blog, Martin posits himself the question of "Should TDD be used for every line of code?". Again, the answer is "no"
针对他的有关“石器时代”的博文,Martin探讨了“TDD是否应该应用于每一行代码?”
However, no matter how fast the callback is executed, the problem of this solution remains: as soon as the debugger is started, every line of Ruby code incurs an overhead.
然而,无论回调执行的多快,这种解决方案的问题都始终存在:只要debugger一启动,所调试Ruby程序的每一行代码都会承受额外的开销。
What's more, developers have to reason about each and every line in the code, looking to see if it needs to be protected because too much synchronization is just as bad as too little.
此外,开发人员需要对每一行代码刨根知底,以确定是否需要保护它们,因为过度同步与过少同步同样有害。
What's more, developers have to reason about each and every line in the code, looking to see if it needs to be protected because too much synchronization is just as bad as too little.
此外,开发人员需要对每一行代码刨根知底,以确定是否需要保护它们,因为过度同步与过少同步同样有害。
应用推荐