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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: Seeking for papers about tagged types vs access to subprograms Date: Mon, 13 May 2013 19:39:18 +0100 Message-ID: References: <1bfhq7jo34xpi.p8n2vq6yjsea.dlg@40tude.net> <12gn9wvv1gwfk.10ikfju4rzmnj.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net gMo6xKLwGw2bezlrASjCTwibizPnhCxSsfJfA8QKyYJ5qjkBYY Cancel-Lock: sha1:nEq9Ef5n8M3F7lnqjBVpnczkFu0= User-Agent: Microsoft-Entourage/12.33.0.120411 Thread-Topic: Seeking for papers about tagged types vs access to subprograms Thread-Index: Ac5QCSz8TsbNR9znv0qnWFu+zIlVAA== Xref: news.eternal-september.org comp.lang.ada:15540 Date: 2013-05-13T19:39:18+01:00 List-Id: On 13/05/2013 19:01, in article kmr9ja$40g$1@dont-email.me, "J-P. Rosen" wrote: > Le 13/05/2013 19:30, Jeffrey Carter a écrit : >> All the file handling seems poorly designed. I would only have 1 file >> type (or a few, for input, output, and input-output files), for example, >> with different levels of operations on them. It seems ridiculous to have >> different File_Type's declared for Stream, Direct, and Text access to >> files. > Because you are used to poor operating systems like Unix and Windows, > where files are simply a raw bag of bytes. > > In the old times, when people still knew how to write OSes (VMS...), you > had various kinds of files that were managed at OS level. A sequential > file was the logical mapping for a tape, and a direct file for a disc. Yes, and a complete pain in the neck it was too. -- Bill Findlay with blueyonder.co.uk; use surname & forename;