I believe that's also called the Rule of Three.
https://en.wikipedia.org/wiki/Rule_of_three_(computer_progra...