From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada Recursion with strings
Date: Wed, 1 Oct 2008 12:22:20 +0200
Date: 2008-10-01T12:22:20+02:00 [thread overview]
Message-ID: <p3qg27y1rpx0$.16tp3o1fvx4a6.dlg@40tude.net> (raw)
In-Reply-To: 48e34772$0$17131$9b4e6d93@newsspool2.arcor-online.net
On Wed, 01 Oct 2008 11:48:34 +0200, Georg Bauhaus wrote:
> Adam Beneschan schrieb:
>
>> I'd much prefer to have an 'Image attribute that didn't add that blank
>> (it only adds it for nonnegative numbers).
>
> Can I suggest a stronger emphasis on the Ada packages providing
> value-to-string conversions.
1. String conversions require multiple additional parameters for some
types. A "better" image with additional formatting parameter(s), would
quickly bring you to the problem of parallel type hierarchies
= no solution in sight.
2. Even without the parameters, the problem is equivalent to double
dispatch
= better not touch.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2008-10-01 10:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 20:30 Ada Recursion with strings Joe
2008-09-30 22:24 ` Adam Beneschan
2008-09-30 22:24 ` Jeffrey R. Carter
2008-10-01 0:13 ` Joe
2008-10-01 0:27 ` Jeffrey R. Carter
2008-10-01 1:15 ` Robert A Duff
2008-10-01 11:34 ` Jeffrey R. Carter
2008-10-01 14:29 ` Adam Beneschan
2008-10-01 15:18 ` Jean-Pierre Rosen
2008-10-01 16:47 ` Georg Bauhaus
2008-10-02 7:24 ` Niklas Holsti
2008-10-02 8:18 ` Ludovic Brenta
2008-10-03 6:54 ` Maciej Sobczak
2008-10-03 7:38 ` Jean-Pierre Rosen
2008-10-03 9:06 ` Dmitry A. Kazakov
2008-10-01 0:28 ` Adam Beneschan
2008-10-01 9:48 ` Georg Bauhaus
2008-10-01 10:22 ` Dmitry A. Kazakov [this message]
2008-10-01 3:01 ` anon
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox