[BUG]Stream class>on:from:to: & reset

Alan Lovejoy sourcery at pacbell.net
Fri Sep 3 06:42:56 UTC 1999


> ** Original Sender: Tim Rowledge <rowledge at interval.com>
> > You are right, this would foul up the nextPut primitive for WriteStream, so
> you would 
> > have to add the new field separately after those defined in ReadStream and
> WriteStream
> >  rather than doing it in one place in PositionableStream.
> Duh, talk about missing the obvious one! Still, the prim recovery code
> handles it just fine....
> 
> >  Otherwise, it should be str
> > aightforward, but a bit of a shame to add something that's hardly ever
> > used (though, I admit, frustrating when it's not there).
> Well, a similar argument could be made about a lot of stuff in Smalltalk;
> how often does anyone actually use metaprogramming, reified Contexts, etc
> etc? Yet it would be a much lesser system if they were not there. I find
> considerable value in (for want ofa better term) correctness, not to
> mention pragmatic value in minimizing nasty surprises.

Well, Tim:  Looks like you and I are in violent agreement on this issue!

Hope that doesn't cause you to reconsider... :-).

--Alan





More information about the Squeak-dev mailing list