Those classes and interfaces that you expose publicly to the outside world are your contract: You must live up to them. The more cluttered that interface is, the more constrained your future direction is. The fewer public types you expose, the more options you have to extend and modify any implementation in the future.
转载于:https://www.cnblogs.com/zhtf2014/archive/2011/02/11/1951635.html