 <p>If you find yourself repeating similar code in multiple projects, it might be a good idea to extract the portions that are repeated into a library of reusable code in hopes of avoiding repeating yourself in the future. </p> <p>This is unlikely to lead to fully general reusable implementations of design patterns.</p>