Canvas is-an Encoder?

Stefan Matthias Aust sma at 3plus4.de
Wed Jun 28 21:50:14 UTC 2000


At 16:14 27.06.00 +0300, Lex Spoon wrote:

>Why is Canvas a subclass of NullEncoder and FlattenEncoder, lately?

I think you gave the right answer already and also suggested the right 
refactoring to get rid of that inheritance dependency (which btw, doesn't 
allow to remove postscript printing completely).

The solution is obviously to implement multiple inheritance.


bye ;-)
--
Stefan Matthias Aust  //  Bevor wir fallen, fallen wir lieber auf





More information about the Squeak-dev mailing list