Programming style …
Avoid duplication of code
Do not ‘clone’ if possible
Create a new method and call it
Cloning results in two copies that may both have bugs
When one copy of the bug is fixed, the other may be forgotten
Previous slide
Next slide
Back to first slide
View graphic version