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: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist? Date: Thu, 04 Jul 2013 10:59:28 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 4 Jul 2013 17:53:56 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="0ff79f536fa0097e04633d700dc31cb2"; logging-data="5778"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uvEQ+bd/Q+DnSm7YzRVx68L3GYDdMw80=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Cancel-Lock: sha1:4rfk7Hf1PMW9kSCZssXZteVBeZY= X-Original-Bytes: 2843 Xref: number.nntp.dca.giganews.com comp.lang.ada:182281 Date: 2013-07-04T10:59:28-07:00 List-Id: On 07/03/2013 11:59 PM, Dufr wrote: > Which is better for an amateur programmer, Object Pascal or Ada? > > My worry about Ada is that it will entail too much overhead in terms of learning, because of the strict rules, whereas programming in Object Pascal is said to be easier. Or, at least, this is what I have heard. > Is my understanding correct? > > Is there a reason why I may want to prefer Ada over Object Pascal (again, remembering that I am just a hobbyist)? In a controlled experiment, the US Military Academy (West Point) found that Ada (95) was a better language for their 1st programming class than Pascal: http://www.sigada.org/conf/sa98/papers/murtagh.pdf Ada was based originally on Pascal, and corrected a number of deficiencies in the language. For example, semicolon errors, fairly common in Pascal, where the semicolon is a statement separator, are practically nonexistent in Ada, where the semicolon is a statement terminator. If you want to utilize more than one core at a time, you'll find Ada's high-level tasking concepts easier to understand and far less error prone than a low-level library, or even the threading concepts of Java. -- Jeff Carter "Propose to an Englishman any principle, or any instrument, however admirable, and you will observe that the whole effort of the English mind is directed to find a difficulty, a defect, or an impossibility in it. If you speak to him of a machine for peeling a potato, he will pronounce it impossible: if you peel a potato with it before his eyes, he will declare it useless, because it will not slice a pineapple." Charles Babbage 92