On 23/04/2009, Christian Grobmeier <[email protected]> wrote: > On Thu, Apr 23, 2009 at 1:49 PM, Torsten Curdt <[email protected]> wrote: > >> Similarly for other methods. The Abstract class would be responsible > >> for maintaining the current state and checking that the method is > >> valid for the state. > > > > Hm ... sounds a bit like overkill to me. > > > for me too.. I had this discussion long time back with Torsten, cause > the first drafts of compress had a similar approach. Meanwhile I share > his opinion.
Well, it may involve a bit more work now - which I don't mind doing - but adding a new archiver should be easier, as it would not have to do the state checking. The idea is to have the re-usable code in the abstract super-class. > Cheers, > > Christian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
