posts - 58,  comments - 45,  trackbacks - 0

1 why should you refactor?

refactoring improves the design of software
refactoring makes software easier to understand
refactoring helps you find bugs
refactoring helps you program faster

2 when should you refactor?

the rule of three
refactor when you add function
refactor when you need to fix a bug
refactor as you do a code review

3 when shouldn't you refactor?

code has to work mostly correctly before you refactor

posted on 2006-04-06 23:52 gosyl 阅读(191) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: