Use of static methods to implement logic within a class
I’ve recently caught an odd behaviour in my own coding: At some point in the last year I began creating protected static
methods to implement the logic of my public
methods, ensuring that the protected static
version contains all of the logic, but is not affected by state.