今天在写Anze的程序员笔试题答案,参考Google出来的定义,自己重新给Refactor下了一个定义:
Refactoring is the self-concious process of rewriting exsisting code to improve its quality, readability or structure, while keeping its meaning or behavior unchanged.
特别强调了主动、自觉。

评论联播

Your email address will not be published. Required fields are marked *