面向接口编程3大原则

1.An Interface’s Implementation Shall Do What Its Methods Says It Does

2.An Interface Implementation Shall Do No Harm

3.If An Implementation Is Unable to Perform Its Responsibilities, It Shall Notify Its Caller

你可能感兴趣的:(敏捷及软件设计)