Top "Solid-principles" questions

SOLID is an acronym for five principles of object-oriented design introduced or documented by Robert C. Martin.

How to practice SOLID principle of OOP design?

I'm new to SOLID principle but I understand it. My main problem is having a hard time designing my classes …

design-patterns dependency-injection solid-principles
SOLID vs. YAGNI

One of the most frequent arguments I hear for not adhering to the SOLID principles in object-oriented design is YAGNI (…

oop yagni solid-principles
Having a repository dependent on another repository

I've recently been spending time reading up on SOLID principles and decided to seeing how the code base I work …

c# repository-pattern solid-principles
Configuring Automapper in Bootstrapper violates Open-Closed Principle?

I am configuring Automapper in the Bootstrapper and I call the Bootstrap() in the Application_Start(), and I've been told …

.net automapper bootstrapping solid-principles open-closed-principle
Pattern for Creating a Simple and Efficient Value type

Motivation: In reading Mark Seemann’s blog on Code Smell: Automatic Property he says near the end: The bottom line …

c# design-patterns encapsulation value-type solid-principles
Are there any rules for OOP?

Recently I heard that there are 9 rules for OOP(Java). I know only four as Abstraction, Polymorphism, Inheritance and Encapsulation. …

oop rules solid-principles package-design
Examples of great software design and implementation

I hope this isn't a duplicate... What is the most solidly designed and implemented software system/framework/application that you've …

design-patterns oop open-source tdd solid-principles
Patterns to implement SOLID principles

I'm doing a presentation of SOLID design principles and I'm trying to connect the Single Responsibility Principle and the Open-Closed …

design-patterns solid-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
Using a Func<> over an interface?

I have an already existing generic class public class Foo<T> { private T _item; public Foo(T item){ _…

c# design-patterns interface func solid-principles