|
|
|
|
|
by cwilkes
1228 days ago
|
|
I actually like the “one interface with one implementation” as it makes for less surprises. With an interface I know that only that method can be called. If a class is passed in i have no idea what methods going to be used. It also gives me a better feeling that the coder has in mind what they need a parameter to do without worrying that they are going to rely on a couple of othogonal methods to be called. |
|