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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham 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,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!news.mixmin.net!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Wed, 12 May 2010 16:33:26 +0200 Organization: Ada At Home Message-ID: References: <4be417b4$0$6992$9b4e6d93@newsspool4.arcor-online.net> <1qcb6z4i20dyb.1dz2hd4c0vx69.dlg@40tude.net> <87632vwikr.fsf@ludovic-brenta.org> <112n6z3554srr$.tjzjtg467xfo.dlg@40tude.net> <1fv8frriu1h4s.g9jy78q1c0io.dlg@40tude.net> <7a31eab7-1a1c-4653-bf49-ff1498e318f9@b18g2000yqb.googlegroups.com> <199e07cb-2e93-40fc-974d-000b83b6000f@s29g2000yqd.googlegroups.com> NNTP-Posting-Host: FD8vExnEy5iRSNWAUP6U/Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:11551 Date: 2010-05-12T16:33:26+02:00 List-Id: Le Wed, 12 May 2010 15:16:05 +0200, Maciej Sobczak = a =C3=A9crit: > The above is not even wrong. Ada.Text_IO cannot even *name* all the > files that I have on my hard drive. > > Even assuming that I can open some file, the whole "abstraction of a > text" is severely limited. I cannot, for example, read the second > paragraph of the third chapter of the book that is in the file. > This "abstraction" is really a stream on steroids, nothing fancy. Talking about names, it happens I myself had troubles on Windows XP with= = some file names too (exceptions on directory iteration, raised when the = = file name contains some characters). If that can make you happy, some real life projects too, requires no = dependency at all on Ada.Text_IO and and other File_Type related things = = coming from standard packages. It is even part of some really used contr= ol = file examples which comes with AdaControl ( http://www.adalog.fr/adacontrol1.htm ) If something is not suitable to you, nothing in the standard requires yo= u = to use it ;) It is really common to use Ada with restrictions to enforce= = some requirements. That does not mean these libraries are not good, just= = that they may not meet some expectations. Ada's standard library set is = = rather tiny (that's what is good) compared to others, so it cannot meet = = every ones expectations. There is more benefit in being able to create the package you need and = which is not provided by the standard, and be able to do it well and = cleanly, than to have standard package to =E2=80=9Cmeet=E2=80=9D all req= uirements (not = possible). Perhaps Ada is more =E2=80=9Cready to create=E2=80=9D than =E2=80=9Cread= y to cosume=E2=80=9D That was my two cents of the day, sorry if that was not so much worthy -- = pragma Asset ? Is that true ? Waaww... great