事实上,最优秀的软件工程师是工匠,他们能把能量、独创性和创造力融入到每一行代码中。
In truth, the best software engineers are craftsman, bringing energy, ingenuity, and creativity to every line of code.
这三个类基本上只需要一行代码。
只用1行代码……打包!解决!
所有这些都是在20行代码中完成的。
最初它只有大约36行代码。
这两行代码违反了SLAP原则。
These two lines of code illustrate a violation of the SLAP principle.
在这仅有的6行代码里面有许多细节!
有8行代码用来读写XML。
上面代码段的最后一行代码将保存会话。
那么,这一行代码是干什么的呢?
清单8显示完成该任务所需的两行代码。
Listing 8 shows the two lines of code needed to do all this.
只有大约 150行代码,还不错吧?
在顶端,添加列表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.
发布事件只需一行代码。
这一行代码是干什么的啊?
该函数的最后一行代码刷新表。
下一节将对最后三行代码进行解释。
向一个sqs队列写一条消息需要三行代码。
Writing a message to an SQS queue takes three lines of code.
实际上,比较本身只用一行代码就能够做到。
In fact, the comparison itself can be made with just one line of code.
最后三行代码实际地调用该类,并启动线程。
The last three lines of code actually call the class and start the threads.
输入如下的两行代码。
仔细看看第二行代码。
下两行代码指定函数。
第二行代码从事件获取菜单数据对象。
The second line retrieves the menu data object from the event.
以下的第四行代码负责这些。
注意:前面的三行代码通常显示为一行。
Note: The three preceding short code examples normally appear as single lines.
用一行代码打印%ENV内容。
应用推荐