comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Why "Hello World" as a first exercise?
Date: Fri, 30 Jul 2021 02:57:56 -0700 (PDT)	[thread overview]
Message-ID: <4d663ac5-710e-49b0-8691-3b56ca5e4d5bn@googlegroups.com> (raw)
In-Reply-To: <se05ic$741$1@gioia.aioe.org>

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?

  parent reply	other threads:[~2021-07-30  9:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30  6:17 Why "Hello World" as a first exercise? Richard Iswara
2021-07-30  9:57 ` Paul Rubin
2021-07-30  9:57 ` AdaMagica [this message]
2021-07-30 23:06 ` Randy Brukardt
2021-07-31  1:28   ` Dennis Lee Bieber
2021-08-01  1:16     ` Randy Brukardt
2021-07-31  3:06   ` Richard Iswara
2021-08-01  2:37 ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox