Top "Design-principles" questions

Design principles are ideas that guide developers toward certain goals in software design.

designing shape class with circle and triangle

I am trying to understand the is-a vs is-like-a relationship where I read somewhere that we must try to follow …

c++ design-principles
What is the reasoning behind the Interface Segregation Principle?

The Interface Segregation Principle (ISP) says that many client specific interfaces are better than one general purpose interface. Why is …

java oop solid-principles design-principles interface-segregation-principle
Liskov substitution principle - no overriding/virtual methods?

My understanding of the Liskov substitution principle is that some property of the base class that is true or some …

design-principles solid-principles liskov-substitution-principle
Properly implement comparison of two objects with different type but semantically equivalent

I've found a similar question How to compare two distinctly different objects with similar properties that may implicitly and/or …

c# design-patterns design-principles
What is the meaning and reasoning behind the Open/Closed Principle?

The Open/Closed Principle states that software entities (classes, modules, etc.) should be open for extension, but closed for modification. …

oop definition solid-principles design-principles open-closed-principle
Pattern for modifying knockout observable on parent from child view model

I have a parent-child view model object structure set up and need to update an observable on the parent from …

javascript design-patterns knockout.js design-principles