Interface segregation principle

The interface segregation principle or interface layout principle is a term used in computer science. It is a principle of object-oriented design and states that excessive interfaces, through extended functionality mean that implementing classes must have unnecessary methods should be divided into several interfaces. After successful application of this principle would draft a module that uses an interface must implement only the methods that it really needs.

Meaningfulness

Through this principle, it is possible to realize the information required by Meyer sleek interfaces, which allows for better maintainability with it because classes implement only the methods that they need. Thus, the code is compact and is more recyclable. Also, better testability is given.

413986
de