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 X-Received: by 2002:a37:a090:: with SMTP id j138mr4646146qke.168.1587146349771; Fri, 17 Apr 2020 10:59:09 -0700 (PDT) X-Received: by 2002:aca:3442:: with SMTP id b63mr3011490oia.7.1587146349523; Fri, 17 Apr 2020 10:59:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 17 Apr 2020 10:59:09 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=185.22.143.36; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 185.22.143.36 References: <87muca3vgd.fsf@nightsong.com> <57d49047-0a61-4d13-8822-d004732a3acc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <007895f7-b923-4267-9801-d0caaaa30838@googlegroups.com> Subject: Re: Beginning Ada Programming, by Andrew T. Shvets (2020) From: AdaMagica Injection-Date: Fri, 17 Apr 2020 17:59:09 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58398 Date: 2020-04-17T10:59:09-07:00 List-Id: Am Freitag, 17. April 2020 06:07:15 UTC+2 schrieb Andrew Shvets: > On Tuesday, December 3, 2019 at 8:21:25 AM UTC-5, J-P. Rosen wrote: > > Le 03/12/2019 =C3=A0 13:33, Lucretia a =C3=A9crit : > > >> Yes, he is. I had a little conversation on the very first edition > > >> with him. I esp. objected that he started his examples with using > > >> Integer rather than user-defined types (which IMHO is the very > > >> heart of Ada). I do not know whether he changed this. > >=20 > > > There's nothing wrong with using integer to start off and then moving > > > onto defined types. > > Yes there is! (see my paper at the last Ada-Europe). The first message > > when you teach Ada is that it is all about defining proper types. You > > have to start by fighting bad habits from other languages. > >=20 > > --=20 > > J-P. Rosen > > Adalog > > 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX > > Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 > > http://www.adalog.fr >=20 > *shrug* You have your own way of looking at this. However, I really did = not want to leave someone that is just starting with a long and academic ch= apter on types in Ada. It would be boring and discourage someone from lear= ning Ada. Why must this be boring? Define a temperature scale for a home thermometer. It has a measurement ran= ge from -30 to +40 =C2=B0C. Define a type for values you can read from a foldable meter rod (0 to 2 m).