代码重构(英语:Code refactoring)重构就是在不改变软件系统外部行为的前提下,改善它的内部结构。 软件重构需要借助工具完成,重构工具能够修改代码同时修改所有引用该代码的地方。在极限编程的方法学中,重构需要单元测试来支持。
代码重构( Code Refactoring)是一个编程的术语:在保留原有的功能的情况下改变计算机程序代码让其容易被修改为适应变化、增加可读性或者简化结构。
基于4802个网页-相关网页
... 熔断器熔丝电流 » Fuse fuse current 代码重构 » Code reshaping 无论我们将来去那里 » Whether we will go there ...
基于12个网页-相关网页
尽早且经常地重构代码 Refactor often and sooner
In order to take full advantage of code and device, it incorporates these two kinds of methods. The static code restructuring methods focus on large-size array access in nested loops.
针对磁盘设备的静态代码重构关注嵌套循环中对于大规模数组的访问,在讨论了数据访问模式与快速存储设备数据本地性的关系等问题后,提出了三种循环优化方法:循环融合、循环分拆、循环扩充。
参考来源 - 动态静态结合的垂直节能优化策略·2,447,543篇论文数据,部分数据来源于NoteExpress
并且,实现这种技巧最有可能需要代码重构。
And implementing this technique will most likely require code refactoring.
添加注释的动机通常与代码重构一致。
The motivation for writing comments is often same as for refactoring your code.
这种方法也适用于非功能性项目,例如代码重构和自动化整合测试。
This approach was utilized for non-functional items as well, such as code re-factoring and automated integration testing.
应用推荐