请输入默认代码中的“旧代码”字段。
如何定义一个包,在cq5卸载旧代码?
对旧代码的整理很有用!
重构旧代码以进行简化并提高可读性就是这样一个例子。
One such example occurs when refactoring old code to help simplify it and make it more readable.
但是,我想你是的工作内容是一个少有变动的旧代码库。
Although, I do think if you're working on older code bases that don't have a lot of churn, ...
“基础”表示来自最后一个版本或者最后一次迭代的旧代码。
"Base" represents old code from last version or last iteration.
你也许会惊叹,旧代码也能复活成为一种更好的程序,甚至是一个完整的产品。
You'd be surprised at how old code can be resurrected into a possible and better routine, or maybe even an entire product.
最好是注释掉旧代码并对新代码添加注释,这样可以更轻松地跟踪您的修改。
It's best to comment out the old code and add comments to the new code so it will be easier to track your modifications.
它使用美化您的代码或重新格式化您已经继承以使其更具可读性的旧代码。
Use it to beautify your code or to reformat legacy code you've inherited to make it more readable.
因为开始时是有效的,所以您可以逐步处理,而不是同时处理旧代码和新代码。
Since you started out valid, you can handle this incrementally, rather than dealing with both old code and your new code at the same time.
我现在的做法是保留旧代码的情况下并行实现新想法,而不是直接在旧代码上修改。
What I try to do nowadays is to implement new ideas in parallel with the old ones, rather than mutating the existing code.
有时,但是,必须与其他人已经编写了一些并不能更新的旧代码集成您的新代码。
Sometimes, however, you have to integrate your new code with legacy code that others have written and that can't be updated.
通常对我来说写全新的方法和类要比深入旧代码中,找出我想要修改的部分容易得多。
It's usually far easier for me to write all new methods and classes than it is to break into old code and find the sections I need to change.
不要把应删掉的代码注释掉了事我知道有些人重写提交代码的时候,把旧代码注释掉。
Don't comment out code you mean to delete. I have known people to comment out blocks of code they were rewriting and check them in commented out.
在您这样做之后,您可以安全的重构代码、实现新功能,并确保不会破坏您的旧代码。
After you have done this you can safely refactor code and implement new features and be confident that your old code has not broken.
不管是否需要你回顾还是重新查看一些旧代码,都要多写一些测试用例,甚至推迟截止日期也要这么做。
Whether you need to double back and revisit some old code, write some more test cases, or even delay a deadline — do it.
此外,这些类能与旧代码和新的泛型代码一起无缝工作(下个月,我们会说明如何做到这一点)。
What's more, these classes work seamlessly with both legacy code and new generic code (next month, we'll explain how that's possible).
Google在一年前(link)就切换到新的追踪代码(link),而根据Pindom采访的一个Google顾问估计,旧代码会在将来的几个月里无法使用。
Google switched to the newer tracking code well over a year ago, and according to a Google consultant interviewed by Pingdom, the old code may be deactivated in the next few months.
举例来说,越快忘记你的旧的个人识别号码或接入代码,你才能更快更准确地会记住新号码。
For example, the faster you forget your old PIN or access code, the quicker and more accurately you will recall your new Numbers.
一个原因是要与旧系统兼容,正如我们要编写与遗留应用程序兼容的代码一样。
One reason is compatibility with older systems, similar to our writing code to be compatible with legacy applications.
代理的字节代码一变更,旧的用户签名就变成无效的了。
As soon as the byte codes of the agent change, the old user signature becomes invalid.
这会更加确保您对于每个添加到代码中的新补丁不会重新引入旧的错误。
This gives you a much greater assurance that you are not reintroducing old bugs with each new patch you add to your code.
当新的特性出现,我们又要为旧的代码量体裁衣。
如果您已经决定使用Guice 1.0,用户指南中有这种旧方法的文档,而且在本文随附的示例代码中,您可以找到一个自定义provider。
If you've decided to use Guice 1.0, the user's guide has documentation on the old way, and the sample code supplied with this article has a custom provider you can look at.
自从1984年首次亮相以来,旧MacOS系统变为一对臃肿不堪、不稳定的代码包。
Since its debut in 1984, the old Mac OS had turned into a bloated, unstable patchwork of code.
通道框架运行时代码将识别出旧HTTPTransport配置并且在日志中记录警告消息,指明该配置应该升级。
The channel framework runtime code will recognize the presence of old the HTTPTransport configuration and issue a warning message in the logs to indicate that the configuration should be upgraded.
不要害怕扔掉代码.重构和重新编码是两个非常重要的领域.当你遇到已经不存在的需求,或者你没有意识到你能找到比开始编写的代码更好地解决旧问题和新问题的方案,如果你遵循上面的建议,需要重构的代码已经最小化了.如果你没有遵循上面的建议,你可能需要重新编码.
Many developers solve their problem while they are coding, and there is nothing wrong doing that. As a matter of fact, you can do that and still adhere to the above statement.
所以,你通常基于现有的代码库进行工作,可是写全新的代码又比修改旧的代码容易得多。
So you generally work on an existing codebase, but yet it's easier to write all new code than it is to change old code.
所以,你通常基于现有的代码库进行工作,可是写全新的代码又比修改旧的代码容易得多。
So you generally work on an existing codebase, but yet it's easier to write all new code than it is to change old code.
应用推荐