setup.exe rebase patch
Jason Tishler
jason@tishler.net
Tue Mar 5 05:02:00 GMT 2002
Rob,
On Sun, Mar 03, 2002 at 06:20:33AM +1100, Robert Collins wrote:
> Well if you can clarify what aspect is cheating, I'm happy to discuss
> factoring approaches.
Sorry for being vague and for being flippant too. By "cheating," I
was specifically referring to violating a basic premise of the Memento
pattern -- which is the state is opaque. As you have already mentioned,
either the object must persist itself or something external must perform
this operation.
The Memento pattern seems to be a reasonable factoring approach that
minimizes the breaking of encapsulation. I will either use this approach
or have my list/map class persist itself to/from your io_stream class.
Thanks,
Jason
More information about the Cygwin-apps
mailing list