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=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e61c8636ef35379d X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada Streams usage (was Escape Sequences in Strings) Date: 2000/11/21 Message-ID: <8ve7kv$n0q$1@nnrp1.deja.com>#1/1 X-Deja-AN: 696211561 References: <3A17B0E2@MailAndNews.com> <3A129A89.1B69E2FE@acm.org> <3A13D59E.63A6F92@earthlink.net> <3A168546.89CA38F7@acm.org> <3A177878.AD747325@telepath.com> <3A182633.BDE82EA9@acm.org> <8v9lip$2dr$1@nnrp1.deja.com> <3A1939E1.AA643766@acm.org> X-Http-Proxy: 1.0 x71.deja.com:80 (Squid/1.1.22) for client 205.232.38.240 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 21 16:25:14 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-11-21T00:00:00+00:00 List-Id: In article <3A1939E1.AA643766@acm.org>, Marin David Condic wrote: > Which is fine - right up to the point where something in the > message stream doesn't exactly line right up on an even byte > boundary. Don't tell me that never happens, because it does. So -- write your own stream protocols to handle this. I really do not understand what you are grumbling about here. Obviously different apps will have different data representation requirements, which is why we leave data representation in streams under program control. Yes, there is a default that will be useful to many people, No, this default is not always what you want. If the default is not what you want, do not use it. Seems pretty straightforward to me. You could argue for a different default (for example in GNAT, we provide two different defaults), or a mechanism for more easily selecting among defaults (that's a planned GNAT enhancement), but other than that, I see no useful input here. Sent via Deja.com http://www.deja.com/ Before you buy.