interface-segregation-principle Questions
6
Solved
How does the SOLID "Interface Segregation Principle" differ from "Single Responsibility Principle"?
The Wikipedia entry for SOLID says that
ISP splits interfaces which are very large into small...
Disclaim asked 17/1, 2013 at 21:20
4
As per the Interface Segregation Principle
clients should not be forced to implement the unwanted methods of an interface
...and so we should define interfaces to have logical separation.
Bu...
Puzzlement asked 23/9, 2017 at 8:25
2
Solved
In an effort to apply SOLID principles to a Python project that has grown organically and is in need of re-factoring, I am trying to understand how the Interface Segregation Principle can be applie...
Anvers asked 9/10, 2015 at 11:50
3
Solved
Is there any core difference between Liskov Substitution Principle (LSP) and Interface Segregation Principle (ISP)? Ultimately, both are vouching for designing the interface with common functionali...
Aspa asked 1/2, 2019 at 13:39
7
Solved
The Interface Segregation Principle (ISP) says that many client specific interfaces are better than one general purpose interface. Why is this important?
Reproachless asked 12/9, 2008 at 13:40
4
Solved
A Leaf in the Composite Pattern implements the Component interface, including Add, Remove, and GetChild methods that a Leaf is never going to use. This seems to be a violation of the Interface Segr...
design-patternscompositesolid-principlesliskov-substitution-principleinterface-segregation-principle
Xeric asked 16/10, 2009 at 18:3
9
Solved
Is there a specific design pattern that describes the scenario where a non-abstract default implementation is provided that implements all or some of the methods on the interface with empty, NO-OP ...
Calaverite asked 11/8, 2009 at 10:15
6
Solved
I was reading about SOLID and other design principles. I thought ISP was the same as "Program to an interface, not an implementation". But it looks like these are different principles?
Is there a ...
Tawnytawnya asked 12/2, 2012 at 15:9
3
Solved
Is interface segregation principle only a substitue for single responsibility principle ?
I think that if my class fulfill SRP there is no need to extract more than one interface.
So ISP looks li...
Mephitic asked 11/11, 2011 at 19:35
6
Solved
I'm trying to follow the Interface Segregation and Single Responsibility principles however I'm getting confused as to how to bring it all together.
Here I have an example of a few interfaces I ha...
Bakki asked 18/9, 2015 at 17:32
2
Solved
Does inheritance from a class with unused methods violates the interface segregation principle?
For example:
abstract class Base
{
public void Receive(int n)
{
// . . . (some important work)
...
Himalayas asked 10/7, 2013 at 7:32
1
© 2022 - 2024 — McMap. All rights reserved.