...重要的——改变了接口就改变了一切。 重构比较烦人的一点就是很多重构技术会要求对接口做出改变。像重命名方法(Rename Method)这么简单的重构其目的就是修改接口。那么这和大家引以为傲的封装概念有什么关系呢?
基于484个网页-相关网页
在第一小步之后,我们开始实现其他的重构功能:Inline Method,重命名方法、变量、属性及类。
After the first tiny steps we started to implement the other refactorings Inline method, Rename of methods, variables, fields and classes.
它包括添加和删除书签、检索用户书签列表和检索(或者重命名)用户标记的方法。
It includes methods to add and delete bookmarks, retrieve a user's bookmark list, and retrieve (or rename) a user's tags.
另一种对元素重命名的方法是直接从图中进行编辑。
Another method for renaming of elements is by editing them directly from the diagram.
应用推荐