From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,842accb6a7d76669 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-09 07:56:28 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3BE301D1.4010106@telepath.com> <3BE7DA00.8020807@acm.org> <9sdojl$e6h$1@news.huji.ac.il> <3BEACA5A.9030100@acm.org> Subject: Re: List container strawman 1.1 Message-ID: <20TG7.18929$xS6.30469@www.newsranger.com> X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Fri, 09 Nov 2001 10:55:42 EST Organization: http://www.newsranger.com Date: Fri, 09 Nov 2001 15:55:42 GMT Xref: archiver1.google.com comp.lang.ada:16130 Date: 2001-11-09T15:55:42+00:00 List-Id: In article <3BEACA5A.9030100@acm.org>, Roy Bell says... >> Roy Bell wrote in message news:3BE7DA00.8020807@acm.org... >> >>>> >>>>with Ada.Finalization; >>>>with Ada.Streams; >>>> >>>> >>>Can we defer the routines that require Ada.Streams to a child unit? > >All of the other proposed additions/deletions are insignificant by >comparison. I have seen 100s of Kbytes added to the size of the >executable when IO is used. I don't believe there is any I/O in Ada.Streams. Perhaps you are thinking of Ada.Streams.Stream_IO? The problem with putting stuff in a child is that Ada rules would require it to be a generic as well. That would lead to the situation where proper use requires instantiating the first package, then using *it* (not the generic but the instantiation of it) to instantiate the second package. Its not too horrible one you figure it out. But this is exactly what Booch does that everyone is saying is unacceptable. So I feel that we really need to avoid using child packages unless there is a compelling reason. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.