复制代码是软件项目当中一个常见的问题。
当你像那样复制代码的时候,你其实是借用。
“复制代码”将代码文件复制到剪贴板。
这里的想法就是要避免复制代码以及硬编码。
该方法会分割到不同的方法以避免复制代码。
This code is separated into a different method to avoid duplicating the code.
聊天按钮复制代码并粘贴到您的网站的源。
Copy the Chat Button Code and paste it into your website source.
我总是看到加法,我一直复制我的代码,复制代码。
I keep seeing addition and I keep just copying my code, copying my code.
当您避免了复制代码时,调试和维护就变得更加容易了。
When you avoid duplicating code, you make debugging and maintenance easier.
使用这个类,不需要复制代码就可以实现任意类单例化。
So with this class we can makeany class singleton, without duplicating the code.
在大多数情况下,使用优秀设计后,您将会发现完全没有必要复制代码。
You will find that in most cases, with good design, copying code is completely unnecessary.
复制这些代码,粘贴到一个文件中,在您的项目中使用。
Copy this code and paste it into a file to use in your own projects.
然后,将功能区项的代码文件复制到一个类库项目中;
Then, copy the Ribbon code files to a class library project.
转移或复制现有的代码。
将复制具有数据和程序代码的整个数据库。
The whole database with data and program code will be replicated.
现在,复制清单11中的代码并做一些修改。
Now, copy the code in Listing 11 and make some changes to it.
被修改的代码是受到复制-粘贴工作的影响吗?
复制——获取代码最新副本的本地版本。
将清单3内的代码复制并粘贴到一个名为secret . c的新文件。
Copy and paste the code in Listing 3 to a new file named secret.c.
为了创建该表,要将php代码复制到一个名为create _ table . php的文件中。
To create this table, copy the PHP code into a file called create_table.php.
在复制上面的代码以前您将交叉检验这些id。
You will will want to cross check those ids before copying the code above.
在Form 1_load事件处理器方法中,复制并粘贴以下代码。
In the Form1_Load event handler method, copy and paste the following code.
将Flex代码复制到portlet项目。
注意是否有任何代码复制的现象?
使用该实例代码的最佳途径是获取一个名为read_and _ write的空脚本,复制实例脚本来替代它。
The best way to use the example code is to capture an empty script with the name read_and_write, then copy and replace it with the example script.
创建一个新文件api . php,将清单3的代码复制到其中。
Create a new file named api.php containing the code in Listing 3.
可以复制 SP_TEST的代码并在TARGET模式中创建它。
You can take the code of SP_TEST and create it in schema TARGET.
将之前复制的代码粘贴到这个新代理中。
大部分代码是经过复制的;惟一不同的部分是返回的值。
Most of the code is duplicated; the only unique part is the return value.
此外,您可以复制这些源代码并将它们粘贴到自己的应用程序中。
In addition, you can copy and paste the source into your own applications.
将两个源代码文件复制到您的目录。
应用推荐