New answers tagged interfaces
1
vote
Interfaces vs abstract classes for immutable DTOs
There's not much in it, either way. The consistency you gain from picking one and sticking with it is likely to be more benefit than any potential drawbacks of either option.
That said, there are ...
1
vote
Where to store a props type declaration on a DDD project?
Some options:
Domain Layer: If IBackendUser is a core domain concept, put it in the domain folder.
Application Layer: If it's specific to the application logic, place it in an interfaces subfolder ...
1
vote
Accepted
Why aren't mandatory options requested in the signature of ASP.NET Core "AddXXX" methods?
I share your frustrations with this design pattern. I guess the reasoning is that it makes everything "easy" for a default setup.
I think what happens is the developers take a section of ...
Top 50 recent answers are included
Related Tags
interfaces × 714java × 148
c# × 148
object-oriented × 147
design × 104
design-patterns × 95
object-oriented-design × 71
inheritance × 67
c++ × 51
abstract-class × 43
solid × 33
architecture × 27
dependency-injection × 24
php × 22
abstraction × 19
programming-practices × 18
polymorphism × 18
implementations × 18
api-design × 17
generics × 17
class × 16
.net × 14
api × 14
naming × 13
c × 12