There was an interesting discussion below about what the benefits of interfaces are. I can see all of those, and the answers were very helpful to me.
However, I'm not sure where they should be used.
Do you need an interface, between every class? I dont like that thought but I could be wrong. Why not?
Do you divide the classes into tiers and put interfaces between every tier?
If you divide the toers 'vertically' into components, services or whatever, is that where interfaces should go?
Do you only put them in where you see potential benefits as listed in the other discussion?
Gil
However, I'm not sure where they should be used.
Do you need an interface, between every class? I dont like that thought but I could be wrong. Why not?
Do you divide the classes into tiers and put interfaces between every tier?
If you divide the toers 'vertically' into components, services or whatever, is that where interfaces should go?
Do you only put them in where you see potential benefits as listed in the other discussion?
Gil