DEV Community

Discussion on: Why interface default implementations in C# are a great thing

Collapse
 
lolle2000la profile image
Lolle2000la

Because you don't want to break the existing consuming, and most importantly the implementing code.

Collapse
 
tyrrrz profile image
Oleksii Holub

You didn't break it on paper, i.e. it's binary-compatible, but not semantically compatible, since you still have to update existing code to use the new API correctly.

Thread Thread
 
lolle2000la profile image
Lolle2000la • Edited

I agree, that's misunderstandable on my end. The point is that you can use the new API. Using it doesn't break the old implementation