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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Running a preprocessor from GPS? Date: Thu, 30 Jul 2015 08:37:23 +0200 Organization: A noiseless patient Spider Message-ID: References: <2df4698f-4c8e-457c-822d-209cb2f8ab5e@googlegroups.com> <014427b1-ff7a-4a69-82e6-0330af77ed96@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 30 Jul 2015 06:35:48 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="56de631a3d8648337a6b4928346548b8"; logging-data="379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vAnqN5zc77CrmvCOf6gP6/dOPgfK2tsU=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Cancel-Lock: sha1:jEdmuftkjPfpO+FAADLfBOZSQiQ= Xref: news.eternal-september.org comp.lang.ada:27171 Date: 2015-07-30T08:37:23+02:00 List-Id: On 30.07.15 00:32, EGarrulo wrote: > If a programming > language doesn't let programmers print formatted output easily, then it > is deficient and it must be fixed, because printing formatted output is > a basic task. This seems a valid marketing argument, assuming that "easily" means "conveniently quick and like with a format string".(*) How useful would a language defined pragma be that does the job of just dumping a text representation? pragma Dump (On|Off, name {, name }); where »name« stands for any entity from the current unit? __ (*) Writing Put (Some_Float_Object); is pretty easy to understand and write? Even if you write two Puts on a line.