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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d00514eb0749375b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: initialize an array (1-D) at elaboration using an expression based on the index? Date: Mon, 01 Nov 2010 00:21:59 +0100 Message-ID: References: <1f6bad81-e3d2-428b-a1a0-45acc7f96f68@m7g2000yqm.googlegroups.com> <9df4e5eb-fba7-4e8c-ba44-cd1ad4081d3b@26g2000yqv.googlegroups.com> <985a178c-8dfc-48af-9871-76a64750a571@l14g2000yqb.googlegroups.com> <2penc6lgsop1583vmg9i0m429ri4ajaf9n@4ax.com> <3450508b-9f26-4f26-8cd1-70149ca113dc@b17g2000yqa.googlegroups.com> <214a69e5-c640-444c-8417-65a1102e20de@s4g2000yql.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: individual.net bP9wB9cDbXVarhvxa81W8w15esBEzPoE98KWQCagT4j8ylX6XU Cancel-Lock: sha1:F0ZLZnNZ35IwoRQyc8VKJBCPoAY= User-Agent: Microsoft-Entourage/12.23.0.091001 Thread-Topic: initialize an array (1-D) at elaboration using an expression based on the index? Thread-Index: Act5WswxbzE6FefPG0afRC2QPJMQqg== Xref: g2news2.google.com comp.lang.ada:16052 Date: 2010-11-01T00:21:59+01:00 List-Id: On 01/11/2010 01:07, in article 214a69e5-c640-444c-8417-65a1102e20de@s4g2000yql.googlegroups.com, "Shark8" wrote: > On Oct 31, 4:47�pm, "(see below)" wrote: >> We are united in thinking that Ada should never look like C++. >> I'm confident that there is no chance of that happening. ... > Indeed. Which is why I tend to scrutinize the features 'imported' from > c/C++ derived languages; the Java-style Interface, for example. > Is it useful, yes; just like the specifications in generics can be > used to solve a whole class of problems so can interfaces deliver a > guarantee that some object contains some function. {I've already > stated that they would have made Interfaces a lot more user-friendly > with the notion of properties; delegation, where some member of the > object implements the interface or some portion of it, would have been > nice too.} The OOP aspect of Ada that makes me grumpy is the brain-deadening awfulness of the gyrations needed for declaring constructors. -- Bill Findlay chez blueyonder.co.uk