From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:1593:: with SMTP id d19mr1514844qkk.472.1627639077235; Fri, 30 Jul 2021 02:57:57 -0700 (PDT) X-Received: by 2002:a25:818a:: with SMTP id p10mr2115143ybk.363.1627639077095; Fri, 30 Jul 2021 02:57:57 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.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, 30 Jul 2021 02:57:56 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=94.31.103.138; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.103.138 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4d663ac5-710e-49b0-8691-3b56ca5e4d5bn@googlegroups.com> Subject: Re: Why "Hello World" as a first exercise? From: AdaMagica Injection-Date: Fri, 30 Jul 2021 09:57:57 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62450 List-Id: You're right, this Hello World doesn't tell anything about the language, its syntax, semantics, what these have to do with safety. But you find this nonsense, as you say, everywhere. But how to begin? The opinions vary. They depend on the audience - beginner, experienced,... I say: Give them a simple problem and ask: What kind of (numeric) type do you need to fulfil the needs of the solution. Others disagree: It's to complicate for a beginner to say "type Meter_Rod is range 0 .. 2_000;", just use Integer for the beginning. The question is: How to avoid bad habits from other languages from the beginning?