[Cuis-dev] Transcript and WriteStream

Juan Vuletich juan at cuis.st
Mon Feb 24 07:38:05 PST 2025


On 2/17/2025 9:50 PM, Mark Volkmann via Cuis-dev wrote:
> 
> I see that in Cuis the Transcript class is a subclass of Object, but 
> it implements many of the same methods as the WriteStream class.
>
> I noticed this differs from Squeak which has a TranscriptStream class 
> that is a subclass of WriteStream. What are some of the reasons why 
> the Cuis Transcript class is not a subclass of WriteStream?
>
> -- 
> R. Mark Volkmann
> Object Computing, Inc.

If Transcript was subclass of WriteStream it would inherit stuff that it 
shouldn't, like the state (instance variables). Transcript is 
implemented in a rather different way.

HTH,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250224/41a9fcae/attachment.htm>


More information about the Cuis-dev mailing list