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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Mon, 10 May 2010 16:52:18 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4be417b4$0$6992$9b4e6d93@newsspool4.arcor-online.net> Injection-Date: Mon, 10 May 2010 16:52:18 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="7932"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HGXQgp33Nti0RPTN/K8nY/MR5Xf6TUyA=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:XVZGHTTt69xy2IlnaXe0FaN0K3k= Xref: g2news2.google.com comp.lang.ada:11454 Date: 2010-05-10T16:52:18+00:00 List-Id: Dmitry A. Kazakov expounded in news:zvtps4jzmo1z$.mzhapf4p7b4a.dlg@40tude.net: > On Mon, 10 May 2010 15:48:19 +0000 (UTC), Warren wrote: > >> Another thing that bugs me is that the Ada.Text_IO >> will not return a LF character (like getchar() in C). > > Why should it? It is a text I/O not a stream I/O. But if I recall correctly, I also cannot get an empty string as input. An empty string is still valid input. >> IMO, there needs to be a "modernized" Ada text I/O >> facility. IOW something like a thick binding for the C >> I/O facilities but designed in Ada terms - not C terms. > > Shudder. I am programming both in Ada and C. You're not the only one. > C's I/O is a disaster, You have only listed an opinion when you don't list specifics. > I > do prefer Ada packages for I/O. Formatting/serialization is a totally > unrelated issue. The problem is that Ada should have separated formatting from I/O (as someone else here has said). C of course did the same thing, except that they made formatting a string easier. > I wonder why people paying so much attention to > admittedly broken and misplaced formatting of Ada.Text_IO in the times > of GUIs. It won't work anyway. It is not a text anymore. Do you enter a picture when login to your favourite GUI system? A wave file for your password? We still depend a lot on Text. Look at any database- it's not all about blobs. Warren