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 X-Received: by 2002:a02:4d:: with SMTP id 74-v6mr662792jaa.15.1530706215519; Wed, 04 Jul 2018 05:10:15 -0700 (PDT) X-Received: by 2002:aca:c6ca:: with SMTP id w193-v6mr375942oif.1.1530706215342; Wed, 04 Jul 2018 05:10:15 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!u78-v6no1628121itb.0!news-out.google.com!z3-v6ni1749iti.0!nntp.google.com!u78-v6no1628116itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 4 Jul 2018 05:10:15 -0700 (PDT) In-Reply-To: <571435b9-a5ff-44f2-8977-b0126aed660a@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.195.62; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.195.62 References: <856189aa-fa00-4960-929e-174f352310ad@googlegroups.com> <2718c8d4-5f35-4fd8-a1aa-1e60069a7a5d@googlegroups.com> <39fce60c-9f56-42fb-b679-fa08810b00ee@googlegroups.com> <47d4ddac-8dae-426c-9096-88d032c59cb0@googlegroups.com> <571435b9-a5ff-44f2-8977-b0126aed660a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Teaching C/C++ from Ada perspective? From: "Dan'l Miller" Injection-Date: Wed, 04 Jul 2018 12:10:15 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3498 X-Received-Body-CRC: 2071680179 Xref: reader02.eternal-september.org comp.lang.ada:53576 Date: 2018-07-04T05:10:15-07:00 List-Id: On Monday, July 2, 2018 at 8:52:59 AM UTC-5, Marius Amado-Alves wrote: > Thanks for the "Accelerated" book recommendation, I'll check. My learned = colleages recommend the "42 > ways". I also recommend all of Scott Meyers's books _42 ways_ and the older _50 wa= ys_, and _35 ways_. I just read =E2=80=9C/x-many/ ways to improve your C++= programs=E2=80=9D as =E2=80=98=E2=80=99/x-many/ nightmares in C++ to elimi= nate=E2=80=99. Who wouldn't want nightmares eliminated right? Programming in C++ versus Ada is all about =E2=80=98eliminating nightmares= =E2=80=99 (C++) versus =E2=80=98curing diseases=E2=80=99 (Ada). Who wouldn= 't want their nightmares eliminated by walking the =E2=80=A2prescribed=E2= =80=A2 narrow path (C++)? Who wouldn't want their diseases cured by =E2=80= =A2proscribing=E2=80=A2 bad lifestyle (Ada)? The programming-Zeitgeist always said for decades that Ada was too big and = too complex of a language. C++ needs 42+50+35=3D125 ways to eliminate C++'= s nightmares. Wouldn't the more prudent and preferable design be to have a= language (Ada) with, say, 125 more course-corrections built into the langu= age as a-priori =E2=80=A2proscriptions=E2=80=A2 rather than needing 125 cou= rse-corrections to be taught to human beings as a-posteriori =E2=80=A2presc= riptions=E2=80=A2. (Even more than 125 when you count Lakos and all the ot= her similar books by other authors.) C++ is like a pill-pushing medical physician: got an ailment by living bad= ly? I can =E2=80=A2prescribe=E2=80=A2 a pill for that (after the fact, aft= er you make big mistakes). Ada is like a holistic natural-medicine nutritionist: I =E2=80=A2proscribe= =E2=80=A2 all the living badly: lack of exercise, smoking, excessing eatin= g, eating the wrong food (before the fact, keeping you healthy from Day One= ).