Streams in squeak.

goran.krampe at bluefish.se goran.krampe at bluefish.se
Tue Apr 19 11:06:40 UTC 2005


Hi!

=?iso-8859-1?b?RnJhbudvaXM=?= THIMON <thimof at iutc3.unicaen.fr> wrote:
> Anyway, I think passing objects through streams has never really been a good
> idea : networks oriented apps should not be language dependant.
> What do you think about this?

A stream is not necessarily a network stream, as you can see by looking
and playing with the examples in the SharedStreams package. Or just play
around with ReadStream etc.

So you can use streams in Smalltalk on any collection of any object like
in this case, an Array with a class in it:

	(ReadStream on: {Object}) next

cheers, Göran



More information about the Squeak-dev mailing list