开发者

refactoring best practices for both PHP and Ruby on Rails

Wondering if someone can suggest a refactoring 'best practice' or more ideally a "check-list" that we can go through and refactor ag开发者_JAVA百科ainst common issues.

Some of these ideas were pretty good: http://my.safaribooksonline.com/9780321620293

But looking for more.

Thanks.


I find the best place to start is Martin Fowler's original book, "Refactoring".

See http://martinfowler.com/books.html for the book, and http://www.refactoring.com/ for a web version (basically).

The most useful thing is the list of 'refactorings' available at http://www.refactoring.com/catalog/index.html

This lists common issues and some of the techniques you can use to refactor them :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜