这三个类基本上只需要一行代码。
只用1行代码……打包!解决!
这两行代码违反了SLAP原则。
These two lines of code illustrate a violation of the SLAP principle.
在这仅有的6行代码里面有许多细节!
有8行代码用来读写XML。
上面代码段的最后一行代码将保存会话。
那么,这一行代码是干什么的呢?
只有大约 150行代码,还不错吧?
这样您可以节省一两行代码。
发布事件只需一行代码。
这一行代码是干什么的啊?
该函数的最后一行代码刷新表。
下一节将对最后三行代码进行解释。
实际上,比较本身只用一行代码就能够做到。
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.
可能需要修改一两行代码,但也仅此而已。
第一行代码装载这个扩展。
只用一行代码即可完成打开与关闭之间的切换配置
profiling that can be switched on and off with one line of code
只有一行代码?!是的,就是只有一行代码。
您甚至可以添加一行代码来突出显示不正确的字段。
You could even add a line of code to highlight the incorrect field.
除了这一行代码,您无需再编写任何其他东西。
Apart from this single line of code, you do not have to write anything else.
可以在无需编写一行代码的前提下编写基本应用程序。
这两行代码提供了对Selection对象的引用。
These two lines of code provide a reference to the Selection object.
这两行代码提供了对Selection对象的引用。
These two lines of code provide a reference to the Selection object.
应用推荐