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,FREEMAIL_FROM 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!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist? Date: Wed, 28 Aug 2013 01:40:16 +0200 Organization: Ada @ Home Message-ID: References: <20130827230816.535a440d@atmarama.noip.me> NNTP-Posting-Host: Z+UZnJO9e89q1cqW+CZH4Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2382 Xref: number.nntp.dca.giganews.com comp.lang.ada:183172 Date: 2013-08-28T01:40:16+02:00 List-Id: Le Wed, 28 Aug 2013 01:37:27 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > Le Tue, 27 Aug 2013 23:08:16 +0200, Gour a =C3=A9c= rit: >> By looking at the table comparing the two languages >> (http://www.prowiki.org/wiki4d/wiki.cgi?LanguagesVersusD), it seems t= o >> me they are pretty close without any having some outstanding features= >> which would be insurmountable. > > The table says there is no unit testing in Ada while it says D provide= s = > it. At least they are wrong about Ada, as there is AUnit (comes in two= = > incompatible different flavours, the FSF and GPL ones, but it's there)= , = > which as its name suggest, is to Ada, what JUnit is to Java. The same with Guaranteed initialization. Ada has the unknown discriminan= t, = which force initialization, and has the initialization/finalization or = controlled types. I guess there are other errors in this table. I won't try to search for = = all, at least the existence of error is pointed to your attention. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity