<< June 6, 2005 | Home | June 8, 2005 >>

Immutability Of Interfaces

Erich Gamma: Since changing interfaces breaks clients you should consider them as immutable once you've published them. As a consequence when adding a new method to an interface you have to do so in a separate interface.

I hope the W3C people are listening. I have shouted about their adding methods to published interfaces 256 days ago, but you guys shouted me down.

Anybody want to argue the same point with Erich Gamma?