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!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: why Ada type casting is different from other languages? newType(value) vs. (newType)value Date: Wed, 16 Jul 2014 01:07:13 +0200 Organization: A noiseless patient Spider Message-ID: References: <1cqb2iccfzox2$.f74qor2zqcub.dlg@40tude.net> <53c25e58$0$6665$9b4e6d93@newsspool3.arcor-online.net> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 15 Jul 2014 23:07:06 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="9becc75767a8d02825b278758ac050d3"; logging-data="10446"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YmDWHIVQL6GR5ZR1TKEKUm7sGvD6Zb+U=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Cancel-Lock: sha1:3a8/eOxILuKHkXYHLrVLKL/MSio= Xref: news.eternal-september.org comp.lang.ada:20959 Date: 2014-07-16T01:07:13+02:00 List-Id: On 15.07.14 21:19, Jeffrey Carter wrote: > On 07/15/2014 11:42 AM, G.B. wrote: >> >> The authors seem to think that, for newcomers at least, it is better >> to have different syntax for different things, irrespective of >> experienced linguists' abstract views. > > That some people got a book published doesn't mean they know what they're talking about. In a controlled experiment at West Point, it was determined that Ada is a better introductory language than Pascal, even though Ada uses parentheses for everything, while Pascal uses brackets for array indexing. I have found "A Comparison of Ada and Pascal in an Introductory Computer Science Course" by Murtagh & Hamilton. Things other than the shape of brackets have greater influence on educational success, then. (Packages, types, explicit type conversion, syntax without surprises, good error messages.)