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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED.2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada++ Date: Fri, 29 May 2020 08:56:07 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <50711230-5b14-4278-b9d8-d197bbe3c93b@googlegroups.com> <9320040f-5486-4d1e-847d-f81b0a59fcfa@googlegroups.com> NNTP-Posting-Host: 2uCIJahv+a4XEBqttj5Vkw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:58845 Date: 2020-05-29T08:56:07+02:00 List-Id: On 29/05/2020 08:06, J-P. Rosen wrote: > Le 29/05/2020 à 06:38, Nasser M. Abbasi a écrit : >> "Ada has neither heredocs nor multiline strings. A >> workaround is to use containers of strings:" > > Please provide a use case showing how these features are > necessary/important. They are totally useless. [Embedding was never a good idea, embedded SQL, embedded machine code etc.] What is indeed needed is static expressions allowing creation of static objects in order to reduce program startup time, e.g. a text buffer containing pre-rendered at compile time text or a static map of texts or an embedded picture etc. Presently all this requires a tool that would generate Ada code with static arrays of Storage_Element and lots of "for X'Address use Y." -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de