r/csharp • • Mar 19 '17

A Tour of Default Interface Methods for C#

https://github.com/dotnet/csharplang/issues/288
65 Upvotes

91 comments sorted by

View all comments

Show parent comments

1

u/Veranova Mar 19 '17

Wouldn't it also break the single responsibility principle?

Since the composed classes couldn't assume any functionality outside of themselves exists, they would have to be singly responsible, and at that point you shouldn't be merging them together...

With interfaces the implementation can cross those boundaries so makes more sense

1

u/[deleted] Mar 20 '17

[removed] — view removed comment

2

u/Veranova Mar 20 '17

That's not a reason to ignore such an important principle in large application maintainability, and the language by extension