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!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Oliver Kleinke Newsgroups: comp.lang.ada Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist? Date: Wed, 28 Aug 2013 01:18:33 +0200 Organization: A noiseless patient Spider Message-ID: <20130828011833.713415f4@PC-8N-L> References: <5accdd81-aebd-476f-83d1-fe52895d5220@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: mx05.eternal-september.org; posting-host="9de5fa53b5d5607b31213434a83a3271"; logging-data="11491"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BdJ6l8UrbZqJ2s50WbGEYpH6E1yDd3+w=" X-Newsreader: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-pc-linux-gnu) Cancel-Lock: sha1:ynmxLmiVApqOEVcJJhztPJ/9TCs= Xref: news.eternal-september.org comp.lang.ada:16994 Date: 2013-08-28T01:18:33+02:00 List-Id: Am Tue, 27 Aug 2013 16:34:34 +0200 schrieb Yannick Duch=C3=AAne (Hibou57) : > Le Thu, 04 Jul 2013 13:47:20 +0200, a > =C3=A9crit: >=20 > > Le jeudi 4 juillet 2013 08:59:26 UTC+2, Dufr a =C3=A9crit : > >> Which is better for an amateur programmer, Object Pascal or Ada? > > > > Pascal is easier for learning the basics of programming and for > > setting up small test programs. > > The issue is when, even as a hobbyist, your projects become more =20 > > ambitious. At some point you need to mix various components, or > > change platform, or work on several systems. > > Sooner or later you face the fragmentation of the Pascal language, > > which is not a problem if you stay forever with one Pascal dialect. >=20 > I don't agree with the first sentence. A well choose Ada subset is as > much easy to introduce as Pascal may be. I would say even more, as > Pascal's behaviour vary too much from compiler to compiler, to not > become an issue. Introducing a standard presents an advantage here. >=20 > What's worth learning something which will become false or subtly =20 > different, depending on the vendors and platforms? That's not > pedagogic. >=20 If I may barge in here, it is very much possible to write good working Ada programs using just a very small part of the language, you don't need to know or use every feature Ada has to offer -- The benefit however is that when you do need the functionality it's there. Once you get a hang of the language you can possibly write small test programs equally fast with the added benefit that you can easily modularize and reorganize your code to use it in a larger project. And what Yannick Duch=C3=AAne wrote concerning portability is also a good point -- why use some vendor dialect when you can use standardized and highly portable language...