Yes but if we want to make sure that we could plug easily a new stream library we should either use virtual classes (quite difficult and major changes at language level) or readStream So readStream gives us a nice solution. Stef
I also prefer ReadStream on: since it is explicit about the stream you want rather than expecting the collection to know and have the protocol. I don't really see the need to rewrite the whole image.
Cheers mike
On Friday, September 4, 2009, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Peter you should have a look at Squeak by example and soon pharo by example
in short if you had a category with *MyPackage in a class of another package then your package MyPackage will contain the extensions.
You can see the extension by clicking on the Monticello browser and clicking browse.
In fact this is a good practice to check the extensions of a package before publishing it.
I can show you during the break :)
Stef
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project