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!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Beginning Ada Programming, by Andrew T. Shvets (2020) Date: Fri, 17 Apr 2020 07:49:48 +0200 Organization: Adalog Message-ID: References: <87muca3vgd.fsf@nightsong.com> <57d49047-0a61-4d13-8822-d004732a3acc@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 17 Apr 2020 05:49:48 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="d6a0954363742def855d74f2f7547638"; logging-data="23645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ts53HSvYZIrh2nnsDe6hr" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:Z9J7yHaxbao62te9UzlQxUAdKoA= In-Reply-To: Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:58391 Date: 2020-04-17T07:49:48+02:00 List-Id: Le 17/04/2020 à 06:07, Andrew Shvets a écrit : >>> 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. > > *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 chapter on types in Ada. It would be boring and discourage > someone from learning Ada. > It does not need to be long and boring. I usually tell: "You've been taught at elementary school not to add apple and oranges. Surprisingly enough, Ada is the only language that prevents you from doing it! " -- 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