Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this example, an interface User was frozen with two methods authenticate() and subscribe(). No Sometime later, the providers released a free service that did not rely on authentication. The addition of the freeService() method, unfortunately, broke all the client code that implemented the interface. Moreover, the implementers who wished to use only freeService had to face the onus of also providing the other two methods which polluted the API, for reasons discussed earlier.

...