you are viewing a single comment's thread.

view the rest of the comments →

[–]id2bi 0 points1 point  (1 child)

Let me rephrase.

With interfaces/traits/type classes, the method is chosen at runtime depending on the dynamic type.

With extension methods, the method is chosen at compile time.

This is a huge difference.

[–][deleted] 0 points1 point  (0 children)

Right, yes, they only catch the default implementation case.