Skip to main content
Scott Hannen's user avatar
Scott Hannen's user avatar
Scott Hannen's user avatar
Scott Hannen
  • Member for 8 years, 3 months
  • Last seen more than a month ago
29 votes

Should my classes have separate constructors just for unit testing?

6 votes

Try/Catch/Log/Rethrow - Is Anti Pattern?

3 votes

Does ReSharper's warning "SuggestBaseTypeForParameter" suggest design problems?

3 votes

.NET Implementation Question (repository access)

3 votes

Testing a class that uses external interface

3 votes

Separating the Domain Model from the Data Model

3 votes

ambient context vs constructor injection

3 votes

Why don't OOP languages offer a feature to clone a parent into a child class?

3 votes

How name public method that relays to abstract methods of its children (c#)

2 votes

Managing and organizing the massively increased number of classes after switching to SOLID?

2 votes

Dependency injection for a library with internal dependencies

2 votes

Designing a Class to take whole classes as parameters rather than individual properties

1 vote

What is a good place, in OO, to store a string that is used many places?

1 vote

When should I create separate function (or class)

1 vote

What is the benefit of encapsulating a collection inside a class?

1 vote

Passing runtime-read configuration when working with an IoC container

0 votes

How to handle validation errors from API response when using repository pattern

0 votes

Two contradicting definitions of Interface Segregation Principle – which one is correct?

0 votes
Accepted

How best to share common steps between services while allowing them to provide their own behaviour

0 votes

Use of optional parameter for execute in try block?

0 votes

Private fields and encapsulation

0 votes

Class design - Inject data or inject repository/service to fetch data?

0 votes

Implementing the Interface Segregation Principle

0 votes

What to do when interfaces force me into violating the single-responsibility principle?

0 votes

Is an interface exposing async functions a leaky abstraction?