Difference between revisions of "Refactor code"
Jump to navigation
Jump to search
m ({{p|firefight no more}}) |
m ({{p|focus on quality and speed will follow}}) |
||
Line 4: | Line 4: | ||
|theme=Agile, Extreme Programming, Quality | |theme=Agile, Extreme Programming, Quality | ||
|context=product development, completing {{p|product backlog item}}s. | |context=product development, completing {{p|product backlog item}}s. | ||
|wish=A small code base contains less bugs and | |wish=A small code base contains less bugs and takes less effort to maintain. | ||
|so=Take every opportunity to eliminate redundant code and rewrite code, making it more elegant. | |so=Take every opportunity to eliminate redundant code and rewrite code, making it more elegant. | ||
|wish full=A small code base contains less bugs and | |wish full=A small code base contains less bugs and takes less effort to maintain. You can invest the extra time in building out your product and profit. | ||
|background=Refactoring encompasses any changes to the system that leaves its behavior unchanged while enhancing nonfunctional quality (i.e. simplicity, flexibility, understandability, or performance). | |background=Refactoring encompasses any changes to the system that leaves its behavior unchanged while enhancing nonfunctional quality (i.e. simplicity, flexibility, understandability, or performance). | ||
Not gardening your code will eventually snap you into firefighting mode. See {{p|firefight no more}}. | Not gardening your code will eventually snap you into firefighting mode. See {{p|firefight no more}}. | ||
|therefore full=Take every opportunity to eliminate redundant code and rewrite code, making it more elegant. | |therefore full=Take every opportunity to eliminate redundant code and rewrite code, making it more elegant. | ||
|new={{p|focus on quality and speed will follow}} | |||
}} | }} | ||
Revision as of 10:11, 16 June 2013
…product development, completing product backlog items.
✣ ✣ ✣
A small code base contains less bugs and takes less effort to maintain. You can invest the extra time in building out your product and profit.
Refactoring encompasses any changes to the system that leaves its behavior unchanged while enhancing nonfunctional quality (i.e. simplicity, flexibility, understandability, or performance).
Not gardening your code will eventually snap you into firefighting mode. See firefight no more.
Therefore:
Take every opportunity to eliminate redundant code and rewrite code, making it more elegant.
✣ ✣ ✣
focus on quality and speed will follow
✣ ✣ ✣