[squeak-dev] SocketStream not a Stream?

Igor Stasenko siguctua at gmail.com
Tue Nov 2 15:41:02 UTC 2010

What makes object to be a stream? Belonging to Stream hierarchy? Apparently not.
Its a behavior and protocol.

One of the reasons to make it subclass is to reuse behavior inherited
from Stream.
But if subclass needs to override 90%+ of inherited methods, then it
makes not much sense.
I didn't measured how much methods need to be overridden by
SocketStream, but i suspect it is the case, since sockets are quite

Best regards,
Igor Stasenko AKA sig.

More information about the Squeak-dev mailing list