comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Ada for 1st year students
Date: Wed, 22 Oct 2008 18:02:31 GMT
Date: 2008-10-22T18:02:31+00:00	[thread overview]
Message-ID: <WUJLk.344813$TT4.104635@attbi_s22> (raw)
In-Reply-To: <48fef1b6$0$14060$9b4e6d93@newsspool3.arcor-online.net>

Georg Bauhaus wrote:
> Of course, Windows PC OS is the culprit, extending its technical
> lead into Ada programming tools! Let's see what an "It Just Works"
> Scottish computer has to say:

Ada allows such identifiers, but that doesn't mean they're accepted by the OS or 
tools that run on it. One could argue that, once again, Ada is ahead of its time.

Just because Ada allows such identifiers doesn't mean one should use them. 
Certainly if they prevent the compilation of the unit and one cannot find an OS 
and tools that change that, one should not use them.

I would argue that one should not use such identifiers, even if the the 
language, tools, and OS work perfectly with them. Ada reserved words (with the 
lamentable exception of "elsif") are English words, and the intention is that, 
with properly chosen identifiers, Ada source code reads (sorta/kinda) like 
English text, which can be a big help in understanding the code. Using 
non-English identifiers negates this, and therefore should be avoided.

if Chooidooigoo then

is gobbledygook whether you speak both languages or not.

I'd suggest creating Portu-Ada, which uses Portuguese equivalents of the 
reserved words. A preprocessor translates the reserved words into English, and 
mangles identifiers to eliminate characters that interfere with compilation. The 
resulting generated Ada is not intended for human consumption, and is discarded 
once it is no longer needed. This should make programming more accessible to 
Portuguese beginning students than using straight Ada with its English reserved 
words.

Writing the preprocessor in Portu-Ada might be a suitable project for the 
students, and would help expose them to straight Ada (and the limitations of the 
tools and OS).

Just Rumpelstiltskin's 2 cent's worth.

-- 
Jeff Carter
"People called Romanes, they go the house?"
Monty Python's Life of Brian
79



  parent reply	other threads:[~2008-10-22 18:02 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 16:06 Ada for 1st year students amado.alves
2008-10-09 16:44 ` Vadim Godunko
2008-10-09 17:00   ` Georg Bauhaus
2008-10-09 18:30     ` amado.alves
2008-11-01 12:13       ` Mike H
2008-10-09 18:25   ` amado.alves
2008-10-09 19:09     ` Vadim Godunko
2008-10-09 19:37       ` amado.alves
2008-10-09 16:47 ` mockturtle
2008-10-09 17:06 ` Ludovic Brenta
2008-10-09 19:36   ` Simon Wright
2008-10-14  4:32   ` Randy Brukardt
2008-10-14 10:58     ` amado.alves
2008-10-09 17:27 ` Robert A Duff
2008-10-09 18:35 ` Jeffrey R. Carter
2008-10-09 19:36   ` amado.alves
2008-10-09 19:42 ` amado.alves
2008-10-09 20:05   ` ahab
2008-10-09 21:01   ` Pascal Obry
2008-10-09 21:13     ` Ed Falis
2008-10-09 23:14       ` amado.alves
2008-10-10  0:49         ` Jeffrey R. Carter
     [not found]         ` <D9OdnXWk_MQQOXPVnZ2dnUVZ_gWdnZ2d@earthlink.com>
2008-10-10  9:54           ` amado.alves
2008-10-10 17:44             ` Georg Bauhaus
2008-10-15 10:40     ` amado.alves
2008-10-15 11:00       ` christoph.grein
2008-10-15 11:14         ` amado.alves
2008-10-15 11:50           ` christoph.grein
2008-10-15 17:34             ` Georg Bauhaus
2008-10-15 22:30               ` amado.alves
2008-10-16  7:45                 ` christoph.grein
2008-10-16  9:12                   ` amado.alves
2008-10-16 10:15                     ` christoph.grein
2008-10-16 11:17                       ` Niklas Holsti
2008-10-16 11:35                         ` amado.alves
2008-10-16 19:24                         ` sjw
2008-10-17 12:00                           ` amado.alves
2008-10-16 16:26                     ` Pascal Obry
2008-10-16 18:15                       ` amado.alves
2008-10-16 19:14                         ` sjw
2008-10-17 11:59                           ` amado.alves
2008-10-16  9:42                   ` Common Configuration Settings (was: Ada for 1st year students) Georg Bauhaus
2008-10-16 10:24                     ` christoph.grein
2008-10-16 11:20                       ` Common Configuration Settings Georg Bauhaus
2008-10-16 11:37                         ` amado.alves
2008-10-15 13:57           ` Ada for 1st year students Pascal Obry
2008-10-15 15:20             ` amado.alves
2008-10-15 12:51         ` Dmitry A. Kazakov
2008-10-15 15:34           ` amado.alves
2008-10-25 19:06             ` Marco
2008-10-15 11:08       ` Jean-Pierre Rosen
2008-10-15 15:19         ` amado.alves
2008-10-10  0:09 ` Gene
2008-10-10  1:15 ` Jeffrey Creem
2008-10-10 10:04   ` amado.alves
2008-10-11  0:15     ` Jeffrey Creem
2008-10-11 13:46       ` amado.alves
2008-10-11 14:46         ` Dmitry A. Kazakov
2008-10-11 20:43           ` amado.alves
2008-10-11 20:57             ` amado.alves
2008-10-11 23:37               ` Mike H
2008-10-12  1:06                 ` (see below)
     [not found]               ` <LIydnQ3Px5JC1WzVnZ2dnUVZ_h2dnZ2d@earthlink.com>
2008-10-12  1:37                 ` Gary Scott
2008-11-01 12:09               ` Mike H
2008-10-11 12:54     ` John McCormick
2008-10-11 13:35       ` amado.alves
2008-10-13 23:17         ` Gene
2008-10-11 14:08       ` amado.alves
2008-10-13 12:51         ` Colin Paul Gloster
2008-10-13 20:07           ` amado.alves
2008-10-14 11:56             ` Colin Paul Gloster
2008-10-11 14:12       ` amado.alves
2008-10-11 16:20       ` (see below)
2008-10-12 13:00         ` John McCormick
2008-10-12 14:53           ` amado.alves
2008-10-12 15:31             ` Gary Scott
2008-10-12 16:19               ` Georg Bauhaus
2008-10-13 13:06                 ` Colin Paul Gloster
2008-10-13 15:29                   ` Georg Bauhaus
2008-10-13 16:01                     ` Colin Paul Gloster
2008-10-14 14:17                       ` Georg Bauhaus
2008-10-13 20:13                   ` amado.alves
2008-10-12 14:56           ` Dmitry A. Kazakov
2008-10-13 13:10             ` Colin Paul Gloster
2008-10-13 14:08               ` Dmitry A. Kazakov
2008-10-13 14:26                 ` Colin Paul Gloster
2008-10-13 14:46                   ` Dmitry A. Kazakov
2008-10-14 12:03                     ` Colin Paul Gloster
2008-10-14 12:25                       ` Dmitry A. Kazakov
2008-10-13 15:52             ` John McCormick
2008-10-11 17:44       ` Simon Wright
2008-10-13 14:22 ` Colin Paul Gloster
2008-10-13 20:27   ` amado.alves
2008-10-19 20:49 ` Michael Feldman
2008-10-21 11:16   ` amado.alves
2008-10-22  0:41     ` John McCormick
2008-10-22  8:50       ` amado.alves
2008-10-22  9:26         ` Georg Bauhaus
2008-10-22 11:07           ` amado.alves
2008-10-22 18:02           ` Jeffrey R. Carter [this message]
2008-10-22 19:26             ` Adam Beneschan
2008-10-22 20:31               ` Jeffrey R. Carter
2008-11-04 15:31             ` amado.alves
2008-11-04 18:16               ` Colin Paul Gloster
2008-11-05 15:30               ` John McCormick
2008-11-12 12:23                 ` amado.alves
2008-10-22 18:24           ` Jeffrey R. Carter
2008-10-22 13:38         ` mcollado
2008-10-21 11:30   ` amado.alves
2008-10-21 12:34     ` Peter Hermann
2008-10-21 16:35       ` amado.alves
2008-10-22 13:40         ` Larry A Barowski
2008-10-22 13:33       ` Larry A Barowski
2008-10-22 14:11         ` Britt Snodgrass
2008-10-22 21:48           ` Larry A Barowski
2008-10-25 19:36         ` Marco
2008-10-28  0:49           ` lbarowski
2008-10-28 11:31           ` lbarowski
replies disabled

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