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: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Seeking for papers about tagged types vs access to subprograms Date: Mon, 13 May 2013 15:13:32 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1bfhq7jo34xpi.p8n2vq6yjsea.dlg@40tude.net> <12gn9wvv1gwfk.10ikfju4rzmnj.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1368472412 21334 192.74.137.71 (13 May 2013 19:13:32 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 13 May 2013 19:13:32 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Wr1LUEV8OEIqOLLCHMCWewnfwZ4= X-Received-Bytes: 2457 X-Original-Bytes: 2674 Xref: number.nntp.dca.giganews.com comp.lang.ada:181620 Date: 2013-05-13T15:13:32-04:00 List-Id: "J-P. Rosen" writes: > Because you are used to poor operating systems like Unix and Windows, > where files are simply a raw bag of bytes. "sequence", not "bag". > 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. I haven't used VMS in years, but I recall Record Management Services being a nightmare! Far more complexity than could possibly be worth the functionality provided. Anyway, I don't see VMS (etc) being a good excuse for the design flaws of Text_IO, because Text_IO doesn't match VMS particularly well. Text_IO ought to provide simple streams-of-characters abstractions, and what it looks like on the disk, or what it looks like to the OS should be hidden at that level. - Bob