On Wednesday 30 October 2002 11:47 am, Paul Brannan wrote: <snip> > It is possible for a method to change its behavior. However, if a > method changes from a method that has no side effects to a method that > has side effects, then the interface has considerably changed, and any > code that calls that method is going to have to be re-evaluated. It's > generally a bad idea to change an object's interface. > For those who are OOP newbies, a distinction must be drawn between what is a bad idea in a production system and what is a bad idea during development; A class's interface will likely change often during development. Good OOP design is like sculpting in clay, rather than stone. Refactor vigorously and often. <snip> > Paul -- Best essay I've read in years: http://www.spack.org/words/commandline.html