Tuesday, August 11, 2009

Do's and Not-Do's in Refactoring

Some Do's:
1. DRY (Don't Repeat Yourself) principle
2. Rule of Three
3. Single Choice Principle

Some Not-Do's:

1. Copy-Paste Programming
2. Duplicate Code

No comments:

Post a Comment