单词 | refactoring | ||||||||||||||
释义 | refactoring
更多释义 收起释义 例句释义: 重构,代码重构,重整 1. Tip: If you want the closed models to be considered, you need to perform a refactoring (as shown in Figure 16), not a simple rename. 提示:如果您想考虑这些封闭模型,您需要执行一次重构(如图16所示),而不是一次简单的重命名。 www.ibm.com 2. Whatever it means to you, to your project, in your environment, refactoring is important to the long-term health of any program. 无论是不管对你,对你的项目意味什么,对你的处境来讲在你的环境中,重构对任何程序的长期良性运转都是重要的。 wiki.woodpecker.org.cn 3. Eclipse will not flag this error while performing the refactoring; it's up to you to select an appropriate value. Eclipse在进行重构的时候不会将这些问题标出,您只有自己选择适当的值。 www.ibm.com 4. When Jim asked me to put together something on refactoring, I had to ask him what that really meant. 当Jim要我讲一讲重构时,我问他重构究竟意味着什么。 www.chinaitpower.com 5. While it would be probably too much to say that refactoring is revolutionalizing the programming, it is changing some old habits ground-up. 可以毫不夸张地说,重构是编程的一次变革,它从根本上改变了某些旧有的习惯。 www.infoq.com 6. In some cases, the unit tests themselves may be changed by the refactoring, but the point is that this should happen automatically as well. 在某些情况下,重构可能改变单元测试本身,但重要的是这也应该是自动发生的。 www.ibm.com 7. The motivation for writing comments is often same as for refactoring your code. 添加注释的动机通常与代码重构一致。 www.infoq.com 8. And if you are promoting refactoring, or trying to educate others about it, then you should be ready to be questioned. 如果你正在倡导重构,或者试图向别人讲解重构,那么你应该时刻准备提出质疑。 www.infoq.com 9. The model can include dependencies and interrelationships that allow you to understand the impact of decisions during the refactoring. 此模型可以包括依赖关系和交互关系,以便了解重构期间决策的影响。 www.ibm.com 10. You might feel that the very repetitive nature of the test methods indicates that some refactoring should be possible. 您可能认为测试方法的高重复性特性指示能够进行某种的重构。 www.ibm.com 1. Refactoring also helps you find bugs when you're trying to fix a bug in difficult-to- understand code. 当你在修补一个漏洞而代码又晦涩难懂时,重构也能够帮你发现问题所在。 kk.dongxi.net 2. If two or more developers make changes that update the refactoring log, the changes to the log file must be merged. 如果两个或更多开发人员进行了更新重构日志的更改,则必须合并对日志文件的更改。 technet.microsoft.com 3. After a bit of time refactoring, I had a general mechanism. 花了一点时间之后,我就得到了一个通用的机制。 www.bing.com 4. Refactoring is an incremental activity hence it touches some portion of the system at a time. 重构是一种增量式的活动,因此它每次只会接触到系统的一部分。 www.infoq.com 5. As I said before, I would be nervous about refactoring without tests. 就象我以前所说的那样,重构而不进行测试我会感到不安。 www.ibm.com 6. If you were to switch third-party implementations, any refactoring would need to happen to only the com. acme. ascp. billing package. 如果要转换到第三方实现,只需要对com.acme.ascp.billing包进行重构。 www.ibm.com 7. The bottom view will display your code with all the reference updates due to the refactoring operation. 底部视图将显示代码,其中包含了因重构操作而引起的所有引用更新。 msdn2.microsoft.com 8. If you later decide that this data should be shared between classes, this refactoring will create a new class file from the nested class. 如果您后来又决定应该在多个类之间共享这个数据,那么重构操作就能从这个嵌套类中创建新的类文件。 www.ibm.com 9. One other tweak I would like to make, and then I promise I'll stop refactoring and put this module to bed. 还有另外一个我想做的改动调整,我保证这是最后一个,之后我会停下来,让这个模块歇歇。 wiki.woodpecker.org.cn 10. Controlled refactoring is possible through the services model. 使用这种服务模型使受控解构成为可能。 www-128.ibm.com 1. I then click "Preview" , and in the bottom window I get a list of refactoring operations, along with diffs for the currently selected item. 接下来,我单击“预览”,在底部窗口就可以看见一个重构操作的列表,并伴随当前所选项的异同比较。 www.infoq.com 2. The design principle behind Moq is to be refactoring friendly with a very low barrier of entry. Moq的设计原则就是以极低的门槛来获取良好的重构能力。 www.infoq.com 3. Although on the surface, refactoring is a arrangement process of code, the code is actually contained in the design of adjustment. 尽管表面上重构是代码的一种整理,实际上却是对代码中蕴含的设计的调整。 www.fabiao.net 4. Refactoring lets you easily make changes to your code in one place and have those changes show up in other places that code appears. 重构允许您轻松地更改一个位置中的代码并且在代码出现的其他位置显示这些更改。 www.ibm.com 5. If you change any of the files that are involved, you won't be able to undo the refactoring anymore. 如果您改变了其中任一文件,就不能再取消重构了。 www.ibm.com 6. Heck, we've even managed to categorize refactoring into a handy set of patterns! 我们甚至已经设法将重构分类成一系列便利的模式! www.ibm.com 7. In this installment, I started the discussion about using refactoring as a tool to help understand and identify emergent design. 在本期文章中,我首先讨论了使用重构作为手段来帮助理解和识别紧急设计。 www.ibm.com 8. Automated refactoring is probably not that interesting at this point for the same reason. 同样的原因,自动化的重构现在还不完善。 www.infoq.com 9. Refactoring is an essential part of any development effort. 重构是所有开发工作的基础部分。 www.ibm.com 10. Refactoring is the process of rewriting a piece of code so as to leave its execution behavior intact, but improve it in some other way. 重写一段代码保留其运行的外部特性,但在某些方面有所改进,这样的过程称之为重构。 hszy00232.blog.163.com 1. The goal of refactoring and rewriting is, to improve the sanity of the system by improving the code readability, structure and clarity. 重构和重写的目标,都是要通过提高的代码的可读性、结构和清晰性,从而提高系统的健壮性。 www.infoq.com 2. The Extract Method refactoring allows you to select a block of code and convert it to a method. ExtractMethod重构允许您选择一块代码并将其转换为一个方法。 www.ibm.com 3. Refactoring can be a fair amount of work, but it's not as bad as you might think. 重构可能需要做许多工作,但是没您想像得那么困难。 www.ibm.com 4. This time, I'll continue that theme -- the many options found in db4o -- with a look at how it handles refactoring. 这一次,我将继续这一主题——db4o的众多选项——看看db4o如何处理重构。 www.ibm.com 5. Therefore, this preview does not only serve as a warning as to whether the refactoring should be performed at all. 因此,这个预览图不仅仅是对是否应该执行所有重构的警告。 www.ibm.com 6. Similarly a database refactoring is a simple change to a database schema which improves the design without breaking nor adding anything. 类似的,数据库重构是对数据库方案的简单变更,是在不破坏且不添加东西的情况下改进设计。 www.ibm.com 7. You can then choose Preview to examine the changes or OK to carry out the refactoring immediately as shown in Figure 2. 然后,您可以选择Preview检查变更情况,或者选择OK立即执行重构,如图2所示。 www.ibm.com 8. The Extract Constant refactoring allows you to convert any number or string literal in your code to a static final field. ExtractConstant重构可以将代码中的任何数字或字符串文字转换成一个静态终态字段(finalfield)。 www.ibm.com 9. The Extract Interface refactoring makes an interface out of the methods defined in a class. ExtractInterface重构可以从一个类的已定义的方法生成一个接口。 www.ibm.com 10. The refactoring of the service model cannot be avoided, and as in agile software development, we encourage such continuous refactoring. 服务模型的重构是无法避免的,并且在敏捷软件开发中,我们鼓励进行持续重构。 www-128.ibm.com 1. " Continuous " refactoring of a SOA would mean constantly modifying service interfaces and service composition . SOA的“持续的”解构意味着经常更改服务接口和服务组合。 www.bing.com 2. Data Dude. These include refactoring, static analysis, MSBuild tasks for data and schema comparison, and a dependency walker. 其中包括了重构、静态分析、针对数据和结构比较的MSBuild任务,以及一个依赖查看器(Walker)。 www.infoq.com 3. Do any refactoring of CountryList that you think is necessary and rerun the test to check that you haven't broken anything. 对CountryList进行你认为必要的重构,每次重构后都进行测试,以检查是否出现错误。 www.bing.com 4. The point of refactoring is to improve the design of existing code. 重构的目的是改善现有代码的设计。 www.ibm.com 5. Every refactoring can be decomposed like this. 重构都可以像这样来拆分。 kb.cnblogs.com 6. The Code Cowboy's code is a spaghetti code mess, because he or she was working so quickly that the needed refactoring never happened. 代码牛仔的代码就好像意大利面条一样搅在一起,因为他或者她工作的事如此之快,以至于必要的重够都没有做到。 hi.baidu.com 7. You can also see how you can use refactoring as a part of your database development life cycle by completing the introductory walkthroughs. 通过完成介绍性演练过程,您还可以了解如何在数据库开发生命周期中使用重构。 technet.microsoft.com 8. On this platform XP builds an evolutionary design process that relies on refactoring a simple base system with every iteration. 在这个平台XP建立了一种依赖于可重复设计的简单基础系统的进化设计过程。 dictsearch.appspot.com 9. One way is to have a thorough set of unit tests for the code: the code should pass the tests both before and after refactoring. 第一种方法是对代码进行一套完全彻底的单元测试:在重构之前和之后都必须通过这样的测试。 www.ibm.com 10. Adept refactoring folks will note that I could apply Extract Method as a further refinement to the code. 一些熟悉重构的人可能会说我应该使用ExtractMethod进一步对代码进行优化。 www.ibm.com 1. The Infer Generic Type Arguments refactoring automatically tries to guess the appropriate generic types for classes used in their raw form. InferGenericTypeArguments重构会自动地为原始形式的那些类推测恰当的泛型类型(generictype)。 www.ibm.com 2. The bad news is that because database refactoring is so new that there are only a few initial tools available to you. 坏消息是,由于数据库的重构还是一个非常新的技术,以至于只有一些初级的工具可用。 www.ibm.com 3. Martin Fowler : Refactoring doesn't mean you pathologically rename a bunch of things just because you think it's good. 马丁:重构并非让你病态地去重命名一大堆东西,仅仅是因为你觉得那样好。 pro.yeeyan.com 4. The availability of these refactoring options depends upon the location in the code. 这些重构选项的可用性取决于代码中的位置。 msdn2.microsoft.com 5. For this and the next installment, I tackle code reuse via refactoring and the attendant abstraction impact. 为此,在本文与此后的文章,我将通过重构以及随之而来的抽象影响来处理代码重用问题。 www.ibm.com 6. In the next installment, I'll discuss refactoring toward design, building on the concepts of composed method and the SLAP principle. 在下期文章中,我将在组合方法和SLAP原则的基础上讨论重构如何推进设计。 www.ibm.com 7. It was a natural extension for us to provide smart code editing, completion, error highlighting and refactoring for this language. 对于我们来说,为这个语言提供智能的代码编辑、自动完成、错误的高亮显示及重构是一个自然而然的事情。 www.infoq.com 8. Refactoring only allows you to push those paths into smaller sections of code, which then become easier to test. 重构只是把这些路径放在更小的代码段中,从而更容易测试。 www.ibm.com 9. An effort should be made for refactoring done at the AM project scope to be incorporated at the enterprise level. 努力将AM项目范围内的重构变成是企业级的。 www.infoq.com 10. Over time, the small, hygienic acts of refactoring accumulate to make systems easier and easier to extend and maintain. 重构的修补性操作使得扩展和维护变得越来越容易。 www.ibm.com 1. When you deploy your changes, that merged refactoring log file helps to preserve the intent of your changes to the database project. 部署您的更改时,合并后的重构日志文件有助于保留对数据库项目的更改的意图。 technet.microsoft.com 2. It is fair to say that in . Net community refactoring had a slow start. 公正地说,.NET社区对于重构技术的研究起步太晚。 www.infoq.com 3. Refactoring is one key issue during the software evolution, and is a complex and difficult task. 重构是软件系统不断演化的关键之一,也是一项复杂而又困难的活动。 kns50.chkd.cnki.net 4. Lists refactoring operations that help you modify your code without changing the behavior of your application. 列出可帮助您在不更改应用程序行为的前提下修改代码的重构操作。 msdn2.microsoft.com 5. But refactoring also encompasses environmental factors for your project. 但是重构也包含项目的环境因素。 www.ibm.com 6. Additionally, refactoring was actively encouraged and allowed code to be refined and improved over time. 另外,也非常鼓励使用refactoring,refactoring可以随着时间的推移对代码进行精简和更新。 www.ibm.com 7. Let's do one last refactoring; let's convert the script into a compiled, command-line tool. 让我们来做最后一次重构;让我们把这段脚本变成一个编译好的命令行工具。 www.bing.com 8. As most work of refactoring has been done by hand, many programmers have no interest in refactoring the existing code. 目前,绝大部分重构工作仍然得靠手工完成,因为这个原因,很多程序员不愿意进行重构。 www.fabiao.net 9. JetBrains is the pioneer in creating refactoring tools, so we wanted Ruby developers to have a set of reliable Ruby code refactorings. JetBrains是重构工具的先行者,所以我们希望Ruby开发者能够有一系列稳定的代码重构工具。 www.infoq.com 10. Other refactoring options include encapsulating fields, promoting local variables to method parameters, and managing method parameters. 其他重构选项包括封装字段、将局部变量提升为方法参数以及管理方法参数。 msdn2.microsoft.com 1. Continues the current refactoring operation without a preview of the reference changes. 继续当前的重构操作,而不预览引用更改。 msdn2.microsoft.com 2. When you deploy your changes, the refactoring log file helps preserve the intent of your changes to the database project. 当您部署变更时,重构录档案会帮助您保留原本变更资料库专案的意图。 technet.microsoft.com 3. Refactoring tools and compiler itself can bring limited safety net that you can count on to catch some simple human mistakes. 重构工具与编译器自身可以提供一定的安全保障,不至于引入一些简单的人为错误。 www.infoq.com 4. Accordingly, plan to do model refactoring (reorganization) on an ongoing basis. 相应地,计划重新分解(重新组织)一个正在进行的基础。 www.ibm.com 5. In some cases, source-code refactoring or application redesign may be necessary to implement some of them. 在某些情况下,一些实现还需要重新构建源代码或者重新设计应用程序。 www.ibm.com 6. Refactoring has been a distinguished feature of JetBrains products in the past. 重构也是JetBrains过去产品中一个非常优秀的特性。 www.infoq.com 7. Displays your program, with all reference changes incorporated into your program by the refactoring operation. 显示程序,其中包括通过重构操作并入程序中的所有引用更改。 msdn2.microsoft.com 8. Refactoring scripts allow you to export and share refactoring actions. 重构脚本可以让您导出并共享重构动作。 www.ibm.com 9. This refactoring will ask you to provide a name for the enclosing instance. 这种重构要求您为装入实例提供一个名字。 www.ibm.com 10. Of this series, the service model is an excellent tool to control continuous refactoring. 部分所述,该服务模型是控制持续解构的出色工具。 www-128.ibm.com 1. Available refactoring options include rename, extract method, extract interface, change signature, and encapsulate field. 可用的重构选项包括重命名、提取方法、提取接口、更改签名和封装字段。 msdn2.microsoft.com 2. The power of refactoring lies in its ability to reduce the danger inherent in making changes to working code. 重构的力量在于其能够减少因为改变正在工作的代码所带来的危险。 www.bing.com 3. Schaefer said CDT V5. 0 also introduces a new refactoring framework and a number of new refactorings to complement CDT's rename refactoring. Schaefer说CDTV5.0还将引入新的重构框架和一些新的重构以补充CDT的重命名重构。 www.ibm.com 4. If the team is adjusting the design and architecture of the code by refactoring, a senior developer or software architect may take the lead. 如果团队要用重构来调整设计和架构方面的代码,资深的开发人员或者软件架构师就该领导团队。 www.infoq.com 5. If the file that contains those references is under version control, that file is checked out as part of the refactoring operation. 如果包含那些参考的档案已受版本控制,在重构作业的过程中会将该档案签出。 msdn.microsoft.com 6. It's a prime candidate for refactoring and I will certainly break it into more manageable units in a future iteration of HC. 它是重构的主要候选对象,在HC的将来重复中,我肯定会把它分拆成更易于管理的单元。 www.ibm.com 7. Think of this as your refactoring guide that helps you make surgical changes to your codebase. 以此作为重构的指导会帮助你在代码库方面做出明显的改进。 www.infoq.com 8. Objects are used to encapsulate web UI elements so that manually generalizing and refactoring of the UI locators is not required. 使用对象封装WebUI的元素,因此不再需要手动生成和重构UI的定位器。 www.infoq.com 9. Refactoring systems to harvest business services should result in a modular framework of services and components. 重构系统以获得业务服务会导致服务和组件的模块化框架。 www.ibm.com 10. Its new development workflow and improvements on productivity tools like refactoring, debugging and code generation are also highlights. 其新的开发流程和生产工具的改进(如重构、调试和代码生成)也是一个看点。 www.infoq.com 1. Its new development workflow and improvements on productivity tools like refactoring, debugging and code generation are also highlights. 其新的开发流程和生产工具的改进(如重构、调试和代码生成)也是一个看点。 www.infoq.com 2. Knowing what refactoring tools Eclipse makes available, and understanding their intended uses, will greatly improve your productivity. 只要您知道Eclipse实现了什么样的重构工具,并理解了它们的适用情况,您的生产力就会得到极大的提高。 www.ibm.com 3. Supports refactoring-safe Mock Objects: test code will not break at runtime when renaming methods or reordering method parameters. 支持重构安全的模拟对象:当重命名方法或者对方法的参数重新排序时,测试代码不会在运行时中断程序。 wenku.baidu.com 4. Refactoring is one of those challenges. 重构就是这些挑战之一。 www.ibm.com 5. A code refactoring is a simple change to source code which improves the design without breaking anything nor adding anything. 代码重构是对源代码的简单变更,是在不破坏任何东西,且不添加任何东西的情况下改进设计。 www.ibm.com 6. If a particular piece of source code exceeds a given threshold, it is flagged as a candidate for refactoring to improve maintainability. 如果特定片段的源代码超出了给定的范围,它会标示为重构的候选部分,以提高维护性。 www.ibm.com 7. The code in Listing 2 shows the inherent weakness of any automated refactoring tool. 清单2中的代码展示了一些自动化重构工具的固有缺点。 www.ibm.com 8. So there is nothing to prevent you from refactoring your code no matter the methodology your team might subscribe to. 不管你的团队采取何种方法,都没有任何东西可以阻止你对代码进行重构。 www.infoq.com 9. The Infer refactoring was smart enough to remove the now unnecessary type cast. 而Infer重构足够聪明,它可以删除现在不必要的类型强制转换。 www-128.ibm.com 10. This installment continues that train of thought, covering issues around refactoring and isolating architectural changes. 这一期,继续介绍重构和隔离架构更改。 www.ibm.com 1. The Change Method Signature refactoring allows you to change the signature of a method. 利用ChangeMethodSignature重构可以更改一个方法签名。 www.ibm.com 2. When you rename a database object, an entry is added to the refactoring log for your database project. 重命名数据库对象时,将在重构日志中为您的数据库项目添加一个条目。 technet.microsoft.com 3. Then , I continue to add tests , each time modifying the code by adding new code , changing existing code , and refactoring as I go . 然后,我继续添加测试,每次通过添加新代码、变更现有代码及重新分解的方式来修改代码。 www.bing.com 4. Added emphasis on refactoring and automated testing improves designs dramatically without the need for notebooks full of class diagrams. 对重构和自动化测试的特别重视动态地改进了设计,而且免去了画满类图的笔记本的需要。 www-128.ibm.com 5. Rather than merely rely on automated refactoring tools, make sure that you do intelligent refactorings. 不仅仅依赖自动重构工具,确保您可以进行智能重构。 www.ibm.com 6. In this case, ReferenceStrength can be moved to a higher-level package using IntelliJ's refactoring tools. 在这种情况下,可以使用IntelliJ的重构工具把ReferenceStrength移到一个更高层次的包中。 www.infoq.com 7. Listing 2 shows how the RSS application looks after refactoring and retrofitting it to support localization. 清单2显示了经过重构翻新以支持本地化后的RSS应用程序。 www.ibm.com 8. Down the road, research on AOP refactoring will produce results usable by all of the approaches. 沿着这条路,对AOP重构的研究将会提供所有技术都能使用的结果。 www-128.ibm.com 9. A typical approach to refactoring is to make small changes to existing code while you're introducing new code or changing a method. 重构的一个典型方法是在引入新代码或更改方法时对现有代码做出小小的变动。 www.ibm.com 10. A new feature enables you to copy the impact of refactoring to the clipboard. 一个新特性可以把重构的影响复制到剪贴板。 www.ibm.com 1. All of the refactoring operations that correct references across files correct those references across all projects of the same language. 更正文件间的引用的所有重构操作也会更正同一语言的所有项目间的引用。 technet.microsoft.com 2. Similarly TDD practice requires a unit testing tool and a refactoring tool. TDD实践也需要单元测试工具和重构工具的配合。 www.infoq.com 3. Another example how intelligent a refactoring should be: Create an interface which declares an abstract method. 另一个能证明重构多么智能的例子是:创建一个接口,它声明了一个抽象方法。 www.infoq.com 4. The first step towards the Cloud is to start refactoring your applications for the loosely coupled architecture. 迈向云的第一步就是着手重新架构你的应用系统,实现松耦合架构。 www.infoq.com 5. Activities of this sort can be called refactoring at any size scale. 这项活动不论规模大小,都可以叫做重构。 blog.sina.com.cn 6. It provides development managers with insight to assess risk, prioritize refactoring, and assess software readiness. 它通过估算风险、对重构进行优先级排序以及估算软件现状来管理开发。 www.infoq.com 7. This quick-and-dirty implementation, written with no optimizations in mind, could obviously stand some refactoring. 这个实现非常简陋,编写时并没有考虑优化,显然还需要进行重构。 www.ibm.com 8. Refactoring, modularity, bottom-up and incremental design were described by Leo Brodie in his book published in 1984. 重构,模块化,自下而上和增量设计永华介绍了布罗迪在他的著作出版于1984年。 blog.sina.com.cn 9. Refactoring of interface parameter names is now supported. 现在支持接口参数名称的重构。 www.ibm.com 10. The following code example illustrates where the refactoring engine will not update references. 下面的代码示例阐释重构引擎不更新引用的情况。 msdn2.microsoft.com 1. Hence, a bottom-up analysis of these systems also has to be conducted in order to investigate wrapping and refactoring strategies. 因此,为了研究包装和重构策略,必须对这些系统进行自底向上的分析。 www.ibm.com 2. Using refactoring, you can easily make changes to your code without worrying about breaking things somewhere else. 使用重构,您可以轻松更改您的代码,而不必担心对别处造成破坏。 www.ibm.com 3. Luckily, as Pramod Sadalage and I show in Refactoring Databases, 1 it's quite straightforward to implement database refactorings manually. 幸运的是,如PramodSadalage和我在重构数据库中所描述的,1手动实现数据库重构是非常直接的。 www.ibm.com 4. Support for refactoring to restructure your source code, increasing the maintainability and chances of successful reuse. 支持重构源代码,增强了代码的可维护性和代码的重用性。 www.openitpower.com 5. In future versions of the Build application, I'll leave the persons. data file alone to demonstrate the refactoring process. 在Build应用程序将来的版本中,为了演示重构过程,我将保持persons.data文件不动。 www.ibm.com 6. Due to the wider impact, the stabilization period of a rewrite is much longer than that of refactoring. 由于它会造成更广泛的影响,因此要想让重写的影响稳定下来,时间要比重构长得多。 www.infoq.com 7. You can learn a lot from refactoring older code as your experience with a programming language or platform grows. 在练习编程语言或者平台发展的时候,重构老的代码可以学到很多东西。 www-128.ibm.com 8. It has all the same refactoring options as C# plus one extra (move a class to a new package). 它提供了与C#一样的重构能力,此外还可以将类移动到新的包中。 www.infoq.com 9. When you deploy the project, the refactoring log helps preserve the intent of your changes. 在部署项目时,重构日志有助于保存更改的用途。 technet.microsoft.com 10. Serialization permits a certain amount of class variation, such that even after refactoring, ObjectInputStream will still read it just fine. 序列化允许一定数量的类变种,甚至重构之后也是如此,ObjectInputStream仍可以很好地将其读出来。 www.ibm.com 1. Easier refactoring and code modifications, because you do not have to change static type declarations throughout the code. 更容易进行重构和修改程式码,因为您不必变更整个程式码中的静态型别宣告。 technet.microsoft.com 2. These migration steps reduce the chances of introducing defects during the refactoring effort. 这些步骤减少了在重构过程中出现差错的机会。 www.chinaitpower.com 3. A dialog box displays asking you to confirm the refactoring. 这时会出现一个对话框,要求确认这个重构。 www.ibm.com 4. New Inline Field refactoring and productivity enhancements in existing refactorings. l新的内嵌字段重构和既有重构生产力增强。 www.cnblogs.com 5. One effective refactoring strategy is to introduce to the application a dependency injection 16 container like Spring or Google Guice. 有效重构的一个战略,是向程序引入一个依赖注射16容器,例如Spring或者GoogleGuice。 www.ibm.com 6. I created some unit tests for my task library to ensure tasks were being created properly and begun some test-driven refactoring. 我为我的任务库创建了一些单元测试,以保证任务可以被正确地创建出来,并且以测试驱动重构迈开第一步。 www.infoq.com 7. He started experimenting with refactoring while overhauling a huge banking system, and he hasn't lost interest in refactoring ever since. 他对于重构的最初体验来自于对大型银行系统的整改,从此,他就迷上了重构。 www.infoq.com 8. I hope you will find this article helpful as you embark on learning refactoring. 我希望本文能够为你打开重构之门。 www.infoq.com 9. You can drag and drop a class to a new package in the Package Explorer view, and the refactoring will take place automatically. 如果将一个类拖放到PackageExplorer视图中的一个新包中,这个重构将会自动发生。 www.ibm.com 10. The practice of refactoring developed code has been recognized within the IT industry for some time now. 现在,在IT产业中解构开发代码的实践得到认可已经有一段时间了。 www-128.ibm.com 1. If you follow the mechanics closely like a cookbook recipe, you should be able to learn the refactoring without much trouble. 如果您象按照食谱那样严格遵循这些技术,那么您在学习重构时应该没有太大的麻烦。 www-128.ibm.com 2. In models, move-refactoring changes have high impact, because Package and namespace containment is specified more rigorously than in code. 在模型中,移动分解的变化会产生严重的影响,这是因为包和命名空间容纳和在代码中相比被更加严格地指定。 www.ibm.com 3. Unit testing tools allow us to check that key invariants of our programs continue to hold under refactoring. 单元测试工具使我们能够检查重整情况下继续保持的程序的关键不变量。 www.ibm.com 4. You can improve already written code by refactoring it, but introducing change after the fact is generally expensive. 我们可以通过重构来改进已经编写好的代码,但是通常来说在代码已完成之后再进行改动花费巨大。 www.ibm.com 5. Modern IDEs come equipped with "intelligent" editors and powerful refactoring toolkits that make code changes easy. 现代IDE一般都配备了“智能”编辑器和令代码变更容易的强大的重构工具。 www.infoq.com 6. Today, it's hard to imagine programming in the Java language without excellent refactoring, made easier by static typing. 如今,如果没有通过静态类型简化的优秀的重构,我们很难想像用Java语言编程。 www.ibm.com 7. You can create custom refactoring types or targets to automate additional repetitive database development tasks. 可以创建自定义重构类型或目标,以使其他重复性的数据库开发任务自动执行。 technet.microsoft.com 8. They emphasize test-first development, heavy customer involvement, and refactoring. 它们强调开发中测试第一,积极调动客户和重构。 www.ibm.com 9. Deploy database refactoring changes: After you refactor the database project, you must deploy those changes to a target database. 部署数据库重构更改:重构数据库项目之后,必须将这些更改部署到目标数据库。 technet.microsoft.com 10. Refactoring cannot be used in custom code snippets. 不能在自定义代码段中使用Refactoring。 msdn2.microsoft.com 1. There is a time and place to discuss system architecture and refactoring opportunities, and a time to just get things done. 如果可以讨论系统架构和重构,那么就差找个时间把事情做完。 dongxi.net 2. The software checks all references to names in JavaDoc and various XML files to ensure that refactoring occurs without any broken links. 该软件检查对JavaDoc中名称的所有引用,以及各种XML文件,从而确保在没有任何断裂的链接的情况下进行重构。 www.ibm.com 3. By refactoring, I mean carefully crafting a new design on those areas of the code base that will benefit most from it. 所谓重构,我是说在那些能够从代码库获得最大好处的地方精心制作一个新的设计。 www.ibm.com 4. database refactoring to automatically update the names of all objects in a block of code or throughout a database project. 可以使用数据库重构自动更新代码块或整个数据库项目中所有对象的名称,而不必自己完全限定每个引用。 technet.microsoft.com 5. Refactoring is a structural transformation with a goal in mind. 重构是一种具有某种目的的结构转换。 www.ibm.com 6. Teams practicing AM would rather hold off on the abstractions and allow for change by relying on automated tests to enable refactoring. 实践AM的团队宁愿迟些使用抽象,通过重构并依赖于自动化测试来允许变更。 www.infoq.com 7. Rename refactoring from the Property Grid of the Windows Forms Designer directly modifies your code. 通过从Windows窗体设计器的“属性网格”中执行重命名重构,可以直接修改代码。 msdn2.microsoft.com 8. In circumstances like these, you might not want to take on such a behemoth refactoring effort. 对于这类情况,可能不希望进行重大的重构。 www.ibm.com 9. First, not refactoring provides MORE feature value until some time after refactoring ceases. 首先,只有重构结束之后的某个时间,重构给特性增加的价值才能浮现出来。 www.infoq.com 10. Keep refactoring the code during the weekends and in the evenings with very little communication about it with the offshore team. 在周末和晚上重构代码,而且尽量不跟离岸团队沟通。 www.infoq.com 1. This, coupled with a good tool, makes first steps in refactoring a breeze. 再加上一个好的工具,迈开重构的第一步简直就是轻而易举。 www.infoq.com 2. Refactoring support in Eclipse lets you create the interface with a single action. Eclipse中的重构支持使您能够创建带有单一动作的接口。 www.ibm.com 3. This section offers a step-by-step description of the Extract and Override factory method refactoring. 本节将循序渐进地描述“抽取”和“覆盖”工厂方法重构。 www.ibm.com 4. In the code development, testing, maintenance, in particular, software refactoring, etc. 在代码开发、测试、维护,尤其是软件重构等方面,都具有重要价值。 www.13191.com 5. Refactoring is a more tedious procedure than generating new test code from scratch. 重构会是一个比从头生成新测试代码更乏味的过程。 www.infoq.com 6. Then, let the details emerge and plan on regular refactoring to keep the architecture healthy. 然后,让细节浮现出来并对定期重构制订计划,以让体系结构保持健康状态。 www-128.ibm.com 7. Refactoring: 3rdRail contains technology specifically for RoR that allows developers to improve and simplify application design. 重构:3rdRail囊括了特为RoR准备的技术,可以让开发人员改进并简化应用程序的设计。 www.infoq.com 8. Note that Listing 3 is a refactoring of the aspect shown in Listing 2 of Part 1 of this article. 注意,清单3对本文第1部分的清单2中所示的方面进行了重构。 www.ibm.com 9. Some tools offer custom mapping of namespaces to packages or provide refactoring of package names to resolve this problem. 一些工具提供命名空间的定制映射或提供包名的重构来解决这一问题。 www-128.ibm.com 10. Developers can use this information for further code refactoring to improve the application's performance. 开发者可以把这些信息用于进一步的代码重构以提高应用程序的性能。 www.ibm.com 1. Refactoring is helping to reorganize code, re- clearly reflected structure and further improve the design. Refactoring则帮助重新组织代码,重新清晰的体现结构和进一步改进设计。 www.dgmini.com 2. Lakos's work was a precursor to many developments in software engineering, most notably Refactoring. Lakos在软件工程的很多方面都是先驱,最著名的是Refactoring(代码重构)。 blog.sina.com.cn 3. You can improve response times by increasing the speed of host systems or performing code refactoring to improve efficiency. 可以通过提高宿主系统的速度或执行代码重构以提高效率,从而改进响应时间。 www.ibm.com 4. If the nested class is a static class, a box showing a preview of the refactoring displays right away. 如果这个嵌套类是一个静态类,那么就会立即出现一个框,显示这个重构的预览。 www.ibm.com 5. This refactoring of the class also improves the code so that we have separated the initialization code from the object construction code. 类的这种重构也会改进代码,因为我们将初始化逻辑从对象的构造函数分离出来了。 www.ibm.com 6. However, in these cases the refactoring process might not update ambiguous references correctly. 但是,在这些情况下,重构过程可能不会正确更新不明确的引用。 msdn2.microsoft.com 7. Unit tests are a great tool to catch regression after a deep refactoring process. 单元测试是一个伟大的工具,赶上回归后重构过程很深。 msdn.microsoft.com 8. As part of the refactoring effort, a full review of the application's architecture was undertaken. 作为重组工作的一部分,我们对应用程序的体系结构进行彻底检查。 www.ibm.com 9. We use refactoring techniques, design patterns, and other computational methods to remove the smelly code segments from our applications. 我们利用重构技术、设计模式和其他计算方法从我们的应用程序中去掉发臭的代码片段。 www.ibm.com 10. Best results in refactoring are achieved if you adopt refactoring in small steps, performing it regularly while you code. 如果你遵循小步重构,并在编码过程中定期执行,就能达到最佳的重构效果。 www.infoq.com 1. When the cursor is in this position, invoke the Extract Interface refactoring operation. 当光标处于此位置时,调用“提取接口”重构操作。 msdn2.microsoft.com 2. Contains much useful information about effective refactoring. 包含许多关于有效重构的有用信息。 www-128.ibm.com 3. UML diagrams are also updated automatically as part of the refactoring. UML图作为重构的一部分,也自动地更新。 www.ibm.com 4. Refactoring code is a neglected programmer discipline, but an intuitive programmer idea. 重构代码是被程序员忽略的训练,但却是程序员最直观的想法。 www.ibm.com 5. Refactoring browsers provide many direct and powerful ways to modify code while preserving behavior. 重整浏览器提供多种直接且强有力地修改代码的方式,同时保留行为。 www.ibm.com 6. Having some insight into these issues will alleviate painful and complicated refactoring work later. 对这些问题有一些了解之后,您在稍后可以更加轻松地完成复杂的重构工作。 www.ibm.com 7. Refactor: Rename - renames the selected item and its dependencies based on the principles of database refactoring. 重构:重命名-根据数据库重构的原则重命名所选项及其依赖项。 msdn2.microsoft.com 8. Refactoring is an efficient code settling technique. 重构是一种高效的代码整理技术。 kns50.chkd.cnki.net 9. Classes enable refactoring your appearance and behavior code into dedicated custom types. 类将您的外观和行为代码重构为专用自定义类型。 msdn2.microsoft.com 10. Django URLs can be easily remapped onto an application after a major refactoring. 在发生重大变化之后,DjangoURL可以简单地重新映射到应用程序上。 www.ibm.com 1. For several days now, my colleagues and I have been refactoring our eLearning code. 最近几天,我和同事们重构了一下我们电子教学系统的代码。 www.infoq.com 2. Conveniently, by the definition of refactoring, there is some boundary at which the code's behavior does not change. 相应地,由重构的定义可知重构应该在不改变代码行为的框架内进行。 blog.sina.com.cn 3. Provide training that covers Code Smells, Refactoring, Unit Test and Test Driven Development. 提供一些培训,包括代码的坏味道,重构,单元测试和测试驱动开发等。 www.infoq.com 4. Once design debt has been identified and logged, repayment via refactoring should certainly be made a priority. 一旦设计债得到识别和标记,通过重构进行偿付应该放在优先的位置。 www.ibm.com 5. However, the WMC number doesn't tell you whether investing in refactoring this class toward better design is a good use of time. 然而,WMC数字并不能告诉您是否值得花时间重构这个类,以改进设计。 www.ibm.com 6. A developer, though, can decide to do a round of manual refactoring that considers any such issues. 不过,一个开发人员可以决定采取一系列考虑这些问题的手工重构。 www.ibm.com 7. Two things enable, or drive, increased levels of refactoring: one is better languages and tools, and the other is rapid change. 不过有两个东西驱动、提高了现代的重构技术:一是更好的程序设计语言和开发工具;二是更快的变化需求。 www.chinaitpower.com 8. Tests for overly long methods, classes with too many methods, and similar candidates for refactoring. 测试过长的方法、有太多方法的类以及重构方面的类似问题。 www-128.ibm.com 9. The workspace layer is the starting point for doing code analysis and refactoring over entire solutions. 工作空间层是对整个解决方案执行代码分析和重构的起点。 www.infoq.com 10. Either way, the mapping is explicit and has to be modified every time a refactoring takes place. 不管通过何种方式,这种映射是显式的,每当发生重构时,都必须作出修改。 www.ibm.com 1. Refactoring is only possible if there is a tight safety net of tests (testing). 重构只能在测试具有严格的安全保证时才能进行。 www.ibm.com 2. Bill Venners : You wrote in Refactoring: "Refactoring helps improve the design of software. " How does refactoring improve the design? 比尔:您在《重构》一书中写道:“重构可以帮助我们改进软件的设计。”那么,重构是如何改进设计的呢? pro.yeeyan.com 3. With the refactoring tools in 3rdRail, developers can reorganize their application code without changing the results. 使用3rdRail中的重构工具,开发人员可以在不改变运行结果的前提下对应用代码进行重新组织。 www.infoq.com 4. Recently this has been extended to also support strong typing which with some other extensions allows for advanced code refactoring. 最近这个项目已经扩展为支持强类型化,通过其他一些扩展,强类型化允许高级代码重构。 www.ibm.com 5. refactoring: no refactoring, making it harder to identify common workflow chunks for reuse. 重构:没有重构,要找出可重用的公共工作流块会很困难。 www.infoq.com 6. Martin Fowler's Web site contains much useful information about effective refactoring. MartinFowler的网站包含了许多有关有效重构的有用信息。 www.ibm.com 7. Refactoring Into Pure Functions, using pure functions is an example of functional programming. 重构为纯函数中所述,使用纯函数是函数编程的一个示例。 technet.microsoft.com 8. The Inline refactoring can inline a reference to a variable or method. Inline重构可以内联对变量或方法的引用。 www.ibm.com 9. They also facilitate the ubiquitous MVC pattern and, even more importantly, they support refactoring into MVC code by embodying the view. 它还可以促进无所不在的MVC模式的使用;更重要的是,它们可以通过表示视图来支持转换为MVC代码。 www.ibm.com 10. Refactoring services means changing interfaces by shifting responsibilities from one service to another. 重构服务意味着通过将责任从一个服务转移到另一个服务来更改接口。 www-128.ibm.com 1. In most cases, the refactoring efforts pale in comparison to the risks and costs associated with bad data. 在大多数情况下,与损坏数据招致的风险和成本相比,重构工作并不算什么。 www.ibm.com 2. Preview Changes dialog box to review your code before executing the refactoring operation. “预览更改”对话框在执行重构操作之前检查代码。 technet.microsoft.com 3. Constantly refactoring the IT environment into more composable and dynamic building blocks is extremely important. 将IT环境持续重构成更具组合性和动态性的构造单元极其重要。 www.infoq.com 4. Rewriting code alters the behavior and even the contract of code, while refactoring preserves its outward interface. 重写代码会修改代码的行为甚至合约,而重构保持对外接口不变。 www.ibm.com 5. Think of this as refactoring your common resources. 您可以将此视为重构公共资源。 www.ibm.com 6. Evaluate the possibility of refactoring the method to reduce any long-term maintenance issues. 评估重构方法减少任何长期维护问题的可能性。 www.ibm.com 7. Major refactoring internally to use generic collections instead of the non generic types. 在框架内部的重要重构使用了泛型集合类代替非泛型的集合性。 www.infoq.com 8. Bill Venners: In Refactoring, you write: "I write tests to improve my productivity as a programmer. " 比尔:在《重构》这本书中,你写道:“作为一个程序员,我写测试是为了提高了自己的工作效率。” kk.dongxi.net 9. Refactoring lets you incorporate that learning into your code without breaking the tests. 重新划分让您将学到的知识加入到代码中,同时又不会破坏测试。 www.ibm.com 10. However, for refactoring adepts, software can also be broken on the "inside" . 而对于重构的老手来讲,这样的软件完全是“金玉其外,败絮其中”。 www.infoq.com 1. After you verify that your new refactoring type or target works correctly, you must distribute it to your team. 确认新的重构类型或目标正常工作后,必须将其分发给团队。 technet.microsoft.com 2. And implementing this technique will most likely require code refactoring. 并且,实现这种技巧最有可能需要代码重构。 www.ibm.com 3. The intended interface is just one 'extract interface' refactoring away. 这个可能出现的接口正是基于对一个“提取接口”的重构之上。 www.bing.com 4. The Extract Local Variable refactoring takes an expression that is being used directly and assigns it to a local variable first. ExtractLocalVariable重构取出一段被直接使用的表达式,然后将这个表达式首先赋值给一个局部变量。 www.ibm.com 5. As I describe the refactorings in this and other chapters, I use a standard format. Each refactoring has five parts, as follows. 我在本章以及其他的章节描述重构模式时会统用一个标准的格式,每个重构模式的描述都分为五部分,如下所示。 club.tech.sina.com.cn 6. A refactoring consists of many small, technical steps. 重构由许多小的技术性步骤组成。 www-128.ibm.com 7. As part of the refactoring in . NET 4, Microsoft has greatly increased the extensibility of the parser. 作为.NET4重构的一部分,微软极大地提升了解析器的可扩展性。 www.infoq.com 8. The key point Ron makes here is that the "stop and refactor" strategy is NEVER the best choice for a team competent in refactoring. Ron这里提出的要点是“停下来重构”从来不是擅长重构的团队应该选择的最佳策略。 www.infoq.com 9. Two of the most powerful forms of control are unit testing tools and refactoring browsers. 最强有力的两种控制形式是单元测试工具和重整浏览器。 www.ibm.com 10. Thus, refactoring is the preferred way to incrementally improve the system. 因此,重构是不断提升系统更好的方式。 www.infoq.com 1. If you run the program now, it produces exactly the same result as before, like any proper refactoring should. 如果您现在运行程序,那么将产生与以前完全相同的结果,像任何适当的重构应该的那样。 www.ibm.com 2. Let's start with some questions related to the problem at hand: extending the JDT with our own method visibility refactoring capability. 让我们首先讨论与以下这个问题相关的一些问题:使用我们自己的方法可视性重构能力来扩展JDT。 www.ibm.com 3. Consider each of the steps in this exercise a refactoring of the original design. 将这个练习中的每一步都看成是对原设计的改造。 www.ibm.com 4. Applications also may be more brittle during refactoring due to the use of strings to signify properties. 由于使用字符串表示属性,因此应用程序在重构期间很可能变得更脆弱。 www.ibm.com 5. I think the answer to your question also changes as your comfort level with refactoring increases. 我想,这个问题的答案也会随着你对重构熟悉程度的深入而改变。 kk.dongxi.net 6. Once you've objectively determined there's a problem in the code, you can use a handy refactoring pattern to improve it. 一旦客观地判断出代码中有问题,那么就可以用方便的重构模式改进它。 www.ibm.com 7. Internal refactoring to remove wrinkles in architecture. 内部重构以除去架构中的瑕疵。 www.infoq.com 8. Refactoring is improving the design of existing code without changing its results. 重构是在不改变代码结果的前提下改进现有代码的设计。 www.ibm.com 9. In this walkthrough, you will work with two refactoring techniques: renaming symbols and extracting a method. 在本演练中,将使用两种重构技术:重命名符号和提取方法。 msdn2.microsoft.com 10. IDEs, through static typing, can provide much better support for refactoring. IDE可以通过静态类型为重构提供更好的支持。 www.ibm.com 1. If you use fully qualified names in your unit tests, the refactoring engine can update them whenever you rename a schema object. 如果在单元测试中使用完全限定的名称,则无论何时重命名架构对象,重构引擎都可以对它们进行更新。 technet.microsoft.com 2. Refactoring for E4 may be back-ported to the next Eclipse 3. 7, especially accessing via OSGi services. E4的重构将移植到Eclipse3.7,特别是通过OSGi服务访问的特性。 www.infoq.com 3. In this context, think of refactoring as turning code that works into better code that works. 在本例中,重构就是对代码进行调整,使其更好地工作。 www.ibm.com 4. In other words, you can perform a refactoring in a project that cannot build. 换句话说,可以在无法生成的项目中执行重构。 msdn2.microsoft.com 5. Another cool feature we are considering to implement is cross language refactoring between Java and Groovy. 我们正在考虑实现的另一个比较酷的特性是,Java和Groovy语言间跨语言的重构特性。 www.infoq.com 6. Today's refactoring support makes it trivial to change names so you have to be careful not to change published APIs by accident. 现在的重构方法使得修改类名这种情况也很平常了,所以你更需要当心不要随便修改已发布的API。 www.bing.com 7. To use this refactoring, place the cursor on a variable or method and press Alt Shift I. 要使用这个重构,请将光标放在一个变量或方法上,并按下Alt Shift I。 www.ibm.com 8. Based on the refactoring data, FPGA deal and send the baseband signal to the DUC to achieve the output of the modulation signal. FPGA根据重构数据对基带信号进行处理并发送到数字正交上变频(DUC)芯片中,实现调制信号的输出,同时把调制信息反馈给微控制器; www.ceps.com.tw 9. So, for data, I turn to someone who has been thinking about data refactoring for a long time (although not using that specific term). 为此,我咨询了一些在数据重构(或者用其他的术语)方面有较深研究的人。 www.chinaitpower.com 10. If you run the program now, it will produce exactly the same result as before, like any proper refactoring should. 如果您现在运行这个程序,得到的结果与以前完全一样,这一点所有正确的重构都应该做到。 www.ibm.com |
||||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。