comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: How to get this space away?
Date: Thu, 4 Jun 2015 14:32:35 +0200
Date: 2015-06-04T14:32:35+02:00	[thread overview]
Message-ID: <g6o3ew8hqzqo$.fmmjgkio3p7f.dlg@40tude.net> (raw)
In-Reply-To: mkp66o$h4n$1@dont-email.me

On Thu, 04 Jun 2015 11:37:41 +0200, Georg Bauhaus wrote:

> Ada could stop supporting 'Image entirely, and instead create
> 
>    Annex F.4, Edited Output for Integer Types
> 
> If 'Image was intended for debugging purposes, It is quite obvious
> that 'Image keeps being misused. But:
> 
>   I/O is what we are payed for.
>   I/O is the raison d'être of programming.
>
> So, please, stop helping programmers evade proper I/O.

There are two use cases actually. Output is one, conversion is another.
There must be always four operations:

   Get, Value, Put, Image

Note also that there is a second important player here, the container type.
When you compare 'Image with output you do apples and oranges.

The container for 'Image is String. The container for Put is File_Type.
They are not same. Granted 'Image returning a new file would be useless,
but still. Output into a String is a hell how useful.

BTW, the container for the 'Output attribute is a stream, and you would
need one for Stream_Element_Array as well.

As you see it is much more rich than you wrote.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2015-06-04 12:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 20:32 How to get this space away? Laurent
2015-06-02 20:53 ` Simon Wright
2015-06-03 18:59   ` Laurent
2015-06-03 19:30     ` Simon Wright
2015-06-02 22:28 ` Jeffrey R. Carter
2015-06-03 19:07   ` Laurent
2015-06-03 20:50     ` J-P. Rosen
2015-06-03 23:00       ` Randy Brukardt
2015-06-05  9:26         ` Stephen Davies
2015-06-08 12:33         ` Brad Moore
2015-06-08 19:47           ` Randy Brukardt
2015-06-08 20:25             ` Jeffrey R. Carter
2015-06-09 14:38               ` Brad Moore
2015-06-04  9:37       ` Georg Bauhaus
2015-06-04 12:32         ` Dmitry A. Kazakov [this message]
2015-06-05 13:02       ` Laurent
2015-06-06  0:02         ` Dennis Lee Bieber
2015-06-03  7:28 ` Dmitry A. Kazakov
2015-06-03 19:19   ` Laurent
2015-06-08 22:43 ` wowwomenonwheels205
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox