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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.55.105 with SMTP id r9mr4175157obp.3.1433509355729; Fri, 05 Jun 2015 06:02:35 -0700 (PDT) X-Received: by 10.140.48.11 with SMTP id n11mr31639qga.35.1433509355704; Fri, 05 Jun 2015 06:02:35 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h15no701699igd.0!news-out.google.com!k20ni45204qgd.0!nntp.google.com!q107no250344qgd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 5 Jun 2015 06:02:35 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.99.95.161; posting-account=sDyr7QoAAAA7hiaifqt-gaKY2K7OZ8RQ NNTP-Posting-Host: 83.99.95.161 References: <0b23f4af-9a55-4d1d-be90-f74b316a95cf@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How to get this space away? From: Laurent Injection-Date: Fri, 05 Jun 2015 13:02:35 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:26194 Date: 2015-06-05T06:02:35-07:00 List-Id: On Wednesday, June 3, 2015 at 10:50:07 PM UTC+2, J-P. Rosen wrote: > This dates back to Ada83. The initial idea was that a positive number > and its opposite (negative) number should have the same number of > characters. Forcing a '+' to all positive number would not have been > pretty, so the design team chose to put a space for positive numbers > (negative numbers just have an initial '-'). I won't argue about the ARG's wisdom or their choices but for me it still doesn't make sense. If I want to display a number (positive or negative, int, float, or whatever) in a string I always want it to be separated by a space. But then using the I/O package I have the choice to do so. The 'img looks in this case only 1/2 finished. Remembers me the solutions that my boss and his followers develop: Don't solve the original problem, "just" add more crap around and have the personal get along with it. Oh your car has no breaks, well you "just"can use your feet to stop. I was actually using 'Img because it was rather convenient to do the output in one line. I have now added a procedure which written the results directly to the file. Prefer this way than reserving memory for something I don't need. Not that I need to pay attention to this but it simply doesn't feel right. Thanks Laurent