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-Thread: 103376,782d6c8a12248b09 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed-fusi2.netcologne.de!news.netcologne.de!newsfeed-hp2.netcologne.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada Recursion with strings 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: <8e3685ad-8a71-4912-a86d-746076215606@64g2000hsu.googlegroups.com> <48e34772$0$17131$9b4e6d93@newsspool2.arcor-online.net> Date: Wed, 1 Oct 2008 12:22:20 +0200 Message-ID: NNTP-Posting-Date: 01 Oct 2008 12:22:20 CEST NNTP-Posting-Host: 6c50e790.newsspool2.arcor-online.net X-Trace: DXC=2679bcIK4T6D]ncZ]`hZ;1A9EHlD;3Yc24Fo<]lROoR14nDHegD_]R5b4kkg2HW?_T=]R;1: X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:7912 Date: 2008-10-01T12:22:20+02:00 List-Id: 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