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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!noris.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Interpretation of extensions different from Unix/Linux? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <17qw45cbpv4r.1rcmhhpnxv3dv.dlg@40tude.net> Date: Fri, 4 Sep 2009 09:40:12 +0200 Message-ID: <10he0wbmken48$.1q24z0xzfg8ob.dlg@40tude.net> NNTP-Posting-Date: 04 Sep 2009 09:40:12 CEST NNTP-Posting-Host: f99b5076.newsspool4.arcor-online.net X-Trace: DXC=_5QHodnLhe8RLigj];iP=84IUK:S]R@`Y00DNcfSJ;bb[5FCTGGVUmh?4LK[5LiR>kg2HB8K^lHjjW5 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:8144 Date: 2009-09-04T09:40:12+02:00 List-Id: On Thu, 3 Sep 2009 17:22:44 -0500, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:17qw45cbpv4r.1rcmhhpnxv3dv.dlg@40tude.net... > ... >> This does not answer my question. Is file manager a typical application? >> How can it be designed in Ada using Ada.Directories? Let us ignore GUI >> issues. > > IMHO, no, it is not a typical application. Criterion? 1. Frequency of use 2. Number of implementations per OS 3. Number of implementations per language > You serve no one by reinventing > the wheel, and file managers are an integral part of every modern OS, and > commonly available on lots of non-modern OSes. So? Calculator program is available on all these OSes. Is it an argument against Ada numeric types having operation "+"? > Let the user use what they > are familar with. If you did write one with Ada.Directories (and you surely > can, you just have to use some OS-specific way of finding roots), it would > necessarily be a poor imitation of the provided one Ada.Directories *is* a poor imitation of OS-specific file search. Why is it in the standard? You cannot apply this logic while keeping Ada.Directories. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de