Glossary: Software Design Patterns in C++
Rule of three
Write code once, notice the repeat the second time, and extract the shared part the third time, when you know what varies.
Glossary: Software Design Patterns in C++
Write code once, notice the repeat the second time, and extract the shared part the third time, when you know what varies.