From: Dennis Decker Jensen Date: 2001-03-19T23:42:34+09:00 Subject: [ruby-talk:12863] SV: Re: Looking for a decent compression scheme Robert Feldt wrote: > BTW, maybe we should agree on a base class for compression algorithms so > that we can start collecting them into a lib? Anyone got a sensible > OO design for compression? Don't know anything about compression algorithms, but the design smells like a Strategy Pattern (variation of algorithms used in an object with a common interface - also known as changing class at runtime) or some sort of degenerate Bridge Pattern (separation of interface and implementation). Regards, Dennis