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:a05:620a:252:: with SMTP id q18mr1394395qkn.184.1587096513001; Thu, 16 Apr 2020 21:08:33 -0700 (PDT) X-Received: by 2002:aca:2212:: with SMTP id b18mr961258oic.121.1587096512740; Thu, 16 Apr 2020 21:08:32 -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: Thu, 16 Apr 2020 21:08:32 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2601:18f:982:19b0:2b2:dcfe:2ee3:7563; posting-account=3pYsyQoAAACcI-ym7XtMOI2PDU8gRZS5 NNTP-Posting-Host: 2601:18f:982:19b0:2b2:dcfe:2ee3:7563 References: <87muca3vgd.fsf@nightsong.com> <57d49047-0a61-4d13-8822-d004732a3acc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <72fb5f07-0554-487a-b65d-7209cfb6b649@googlegroups.com> Subject: Re: Beginning Ada Programming, by Andrew T. Shvets (2020) From: Andrew Shvets Injection-Date: Fri, 17 Apr 2020 04:08:32 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58384 Date: 2020-04-16T21:08:32-07:00 List-Id: On Tuesday, December 3, 2019 at 8:57:53 AM UTC-5, Lucretia wrote: > On Tuesday, 3 December 2019 13:21:25 UTC, 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 > People coming from other languages might not grasp types easily, so start= them off with an integer type and show them the range of it, then natural = and positive explaining how they are defined and their ranges. Then drop th= em into their own types. That was my main motivation. It would be needlessly painful for someone ju= st starting out.