Glossary: Software Design Patterns
Rule of three
Write code the first time, notice the repeat the second, and extract the shared part the third time. By then you know what really varies.
Glossary: Software Design Patterns
Write code the first time, notice the repeat the second, and extract the shared part the third time. By then you know what really varies.