DEV Community

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

lolle2000la profile image
Lolle2000la Author

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

tyrrrz profile image
Alexey Golub

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 Author • 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