Common Code Patterns - Identifying possible scenarios
Nota
- code already duplicated - There's more than one implementation of the same thing. The implementations may be different
- duplicating code as new - When you find a function you need inside an application, but this function is not in a shared library, so to use the function, you need to duplicate it.
- duplicating code as a replacement or improvement - one application do one task better than yours, and you want to have the same behavior in your application. As the code is not in a shared library, you are going to replace the code in your application by the code of the other one. Again, we see code duplication.
Criado em Dom 15 Ago 2004 por Gustavo P. Boiko and Helio C. de Castro com o KPresenter