comp.lang.ada
 help / color / mirror / Atom feed
* Re: How to make Ada a dominant language
@ 2001-08-07 21:33 Gautier Write-only-address
  0 siblings, 0 replies; 180+ messages in thread
From: Gautier Write-only-address @ 2001-08-07 21:33 UTC (permalink / raw)
  To: comp.lang.ada

>For production code, we discourage the visibility clause.  However, it is
>still necessary to put selected library units in scope.   That selection is
>enabled through the context clause, "with."   Ada never permits anything
>to be implied.   Each construct is explicit and intentional.    There is a
>very sound engineering principle in this model, but it does not always
>jump to the eye.

This is why I'd suggest the "with and use Abcdef" that uses
only Ada keywords, BTW.

________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: Do not answer to sender address, visit the Web site!
Ne r�pondez pas � l'exp�diteur, visitez le site ouaibe!



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




^ permalink raw reply	[flat|nested] 180+ messages in thread
* Re: How to make Ada a dominant language
@ 2001-07-30 14:29 Gautier Write-only-address
  0 siblings, 0 replies; 180+ messages in thread
From: Gautier Write-only-address @ 2001-07-30 14:29 UTC (permalink / raw)
  To: comp.lang.ada

[about spaces and tabs]

Russ:

>It is more than "convenient." It FORCES the programmer to use proper
>indentation structure, and it assures the reader that the indentation
>structure is indeed consistent with the logical structure. It is
>completely in the Ada spirit of encouraging good structure and form.

An editor that does it can be very comfortable, I agree. I did
use a so-called GFA-BASIC that indented automatically.

AdaGIDE can re-indent in one click I think. So, this is not
a dramatic issue. Why add it as a language topic, when you know
all the problems that come from TAB characters, their interpretation
(4 or 8 jumps) and typing errors. In addition, if you let the "end"
fall you can imagine the possible damages (I hope). You are crawling
back all the conclusions that led to the Ada design and trying
to re-invent all mistakes of the 1960s - 1970s. For your defence,
you are not alone...

Frankly, why don't you create a "Russ" language, with a preprocessor
that translates to Ada ? So you'll be happy, famous, and Ada programmers
can continue programming...
__________________________________________
Gautier  --  http://www.diax.ch/users/gdm/

NB: Do not answer to sender address, visit the Web site!
    Ne r�pondez pas � l'exp�diteur, visitez le site ouaibe!


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




^ permalink raw reply	[flat|nested] 180+ messages in thread
* Re: How to make Ada a dominant language
@ 2001-07-30 12:51 Gautier Write-only-address
  0 siblings, 0 replies; 180+ messages in thread
From: Gautier Write-only-address @ 2001-07-30 12:51 UTC (permalink / raw)
  To: comp.lang.ada

>There is nothing fundamentally wrong with it. It is just unnatural and
>awkward, even if long-time Ada programmers are so used to it they think
>it is natural.

The other syntax seems more natural to you because you are used
to it. Program some years in Ada and you'll see it more neutraly.
For me the Ada syntax has a visual advantage because when you
have a bunch of variables, you see their name first
   blabla...
   trucmuche...
   bidule...
instead of
   integer...
   integer...
   integer...

but you'll certainly say that it is so because my eye is used to look
at the 1st word ;-)

If you look for a *really* popular languages, don't look at C, Python
or other used mostly by IT people. Look at Visual Basic, maybe.

G.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




^ permalink raw reply	[flat|nested] 180+ messages in thread
* Re: How to make Ada a dominant language
@ 2001-07-30  7:34 Gautier Write-only-address
  2001-07-30 12:25 ` Russ Paielli
       [not found] ` <slrn9ma554.j7f.9-scott-9@anvil.ntc.nokia.com>
  0 siblings, 2 replies; 180+ messages in thread
From: Gautier Write-only-address @ 2001-07-30  7:34 UTC (permalink / raw)
  To: comp.lang.ada

>Honestly now, which of the following two statements is cleaner and
>clearer?
>
>     count: integer := 0;  -- old syntax
>
>     integer: count = 0  -- new syntax

"I declare count as an integer and set it to 0"
           1           2                     3

Clearly the syntax with 1-2-3 order is the most
straightforward. Your idea of making the "equal"
operator become an assignement instruction smells
rather C or BASIC nostalgia than a meaningful new idea.
I agree fully about your With/Use pair simplification, though.
It is on my wish list.
As for the syntax, you'd better invent a Python01...

My 0.01 CHF
G.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




^ permalink raw reply	[flat|nested] 180+ messages in thread
* How to make Ada a dominant language
@ 2001-07-30  7:08 Russ
  2001-07-30  8:36 ` Preben Randhol
                   ` (9 more replies)
  0 siblings, 10 replies; 180+ messages in thread
From: Russ @ 2001-07-30  7:08 UTC (permalink / raw)


The Ada programming language is based on an excellent fundamental
design, but it is much less popular than it could be because it has an
awkward, "klunky" syntax. I propose to clean up the syntax by
borrowing from Python. Python is very popular high level "scripting"
language with a reputation for promoting clean, clear code. The new
syntax could be translated into Ada95 syntax with a relatively simple
"preprocessor," so existing compilers could still be used, old code
would continue to work, and programmers could continue to use the old
syntax if they wish.

Here are the syntax changes I propose:

1. Eliminate the "end" keyword and make the indentation structure an
inherent part of the syntax, as in Python.

2. Eliminate the requirement for a semicolon after each executable
statement, but allow semicolons for combining multiple statements on a
line, as in Python.

3. Use "=" rather than ":=" for assignment, as in Python. (Use "=="
for equality testing if necessary to avoid confusion with assignment.)

4. Use "=" instead of "=>" for passing arguments by named association,
as in Python.

5. Reverse the backward declaration syntax. For example, use "integer:
count" instead of "count: integer", or use "integer in: count" instead
of "count: in integer".

6. Eliminate the "is" keyword.

7. Let "use" imply "with" so the tops of files need not be cluttered
with both "with" and "use" for the same package.

A flag on the first line of a source file (e.g., the string "Ada01"
anywhere within a comment) could be used to tell the compiler that the
file needs to be translated to Ada95 before compiling.

With these changes, I believe Ada would become much more popular and
could eventually become a dominant language. The resulting new
language could be called "Ada01," or something like that.

Honestly now, which of the following two statements is cleaner and
clearer?

    count: integer := 0;  -- old syntax

    integer: count = 0  -- new syntax

Russ Paielli
http://RussP.org



^ permalink raw reply	[flat|nested] 180+ messages in thread

end of thread, other threads:[~2001-08-16  5:19 UTC | newest]

Thread overview: 180+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-07 21:33 How to make Ada a dominant language Gautier Write-only-address
  -- strict thread matches above, loose matches on Subject: below --
2001-07-30 14:29 Gautier Write-only-address
2001-07-30 12:51 Gautier Write-only-address
2001-07-30  7:34 Gautier Write-only-address
2001-07-30 12:25 ` Russ Paielli
     [not found] ` <slrn9ma554.j7f.9-scott-9@anvil.ntc.nokia.com>
2001-07-30 12:30   ` Russ Paielli
2001-07-30 12:31     ` Gary Lisyansky
2001-07-30 13:04       ` Russ Paielli
2001-07-31  9:03       ` Florian Weimer
2001-07-31  9:00     ` Florian Weimer
2001-07-30  7:08 Russ
2001-07-30  8:36 ` Preben Randhol
2001-07-30 12:41   ` Russ Paielli
2001-07-30 12:52     ` Preben Randhol
2001-07-30 13:24       ` Russ Paielli
2001-07-30 15:47         ` Preben Randhol
2001-07-30 23:13         ` Gary Scott
2001-07-31  1:07         ` Adrian Hoe
2001-07-30 15:38       ` Darren New
2001-07-31  8:31       ` Florian Weimer
2001-07-30 12:52     ` Gary Lisyansky
2001-07-30 13:38       ` Russ Paielli
2001-07-30 13:43         ` Gary Lisyansky
2001-07-30 15:08           ` Larry Kilgallen
2001-07-30 15:02             ` Russ Paielli
2001-07-30 15:52               ` Preben Randhol
2001-07-30 17:19                 ` Darren New
2001-07-31  7:35                   ` Preben Randhol
2001-08-02  1:36                   ` David Starner
2001-08-02  8:01                     ` Larry Kilgallen
2001-08-02  8:11                       ` David Starner
2001-08-02 12:11                         ` Larry Kilgallen
2001-08-02 14:47                     ` Ted Dennison
2001-08-02 16:10                       ` Darren New
2001-08-02 19:30                         ` Larry Kilgallen
2001-08-02 19:04                           ` Darren New
2001-08-02 20:52                         ` Larry Kilgallen
2001-08-02 16:09                     ` Darren New
2001-08-02 23:39                     ` bruns
2001-08-03  7:28                       ` Pascal Obry
2001-08-03 18:53                         ` Lao Xiao Hai
2001-08-03 13:59                       ` Marin David Condic
2001-08-03  3:40                     ` Larry Kilgallen
2001-07-30 16:21               ` Larry Kilgallen
2001-07-30 16:19                 ` Russ Paielli
2001-07-30 16:33                   ` Marin David Condic
2001-07-30 18:33                   ` Stefan Nobis
2001-07-30 21:26                     ` Milan Mancel
2001-07-31  3:37                       ` Russ Paielli
2001-07-31 20:36                         ` Milan Mancel
2001-07-31 14:37                       ` Ted Dennison
2001-07-31 14:56                         ` Gary Lisyansky
2001-07-31 15:07                         ` Marin David Condic
2001-08-01  0:54                         ` David Bolen
2001-08-01 13:17                           ` Ted Dennison
2001-08-01 22:15                             ` David Bolen
2001-08-01  9:11                         ` Milan Mancel
2001-08-01 12:06                           ` Larry Hazel
2001-08-01 13:41                             ` Marin David Condic
2001-08-01 15:55                               ` Larry Hazel
2001-08-01 16:56                                 ` Marin David Condic
2001-08-01 19:18                                   ` Ed Falis
2001-08-01 13:41                             ` Ted Dennison
2001-08-01 13:28                           ` Ted Dennison
2001-08-01 15:17                           ` Scott Ingram
2001-07-31  3:06                 ` Warren W. Gay VE3WWG
2001-07-31  4:10                   ` Russ Paielli
2001-07-31  5:05                     ` Warren W. Gay VE3WWG
2001-07-30 17:19               ` Pascal Obry
2001-07-31  3:46                 ` Russ Paielli
2001-07-31  5:08                   ` Warren W. Gay VE3WWG
2001-07-31  7:09                   ` Pascal Obry
2001-07-31 14:17                   ` Marin David Condic
2001-07-30 17:33               ` Brian Rogoff
2001-07-31  4:01                 ` Russ Paielli
2001-07-31 17:31                   ` Brian Rogoff
2001-07-30 17:51               ` file13
2001-07-31 14:51                 ` Ted Dennison
2001-07-31  6:16               ` Gary Lisyansky
2001-07-31  9:32       ` Philip Anderson
2001-07-31 10:16         ` Lutz Donnerhacke
2001-08-02 20:35       ` Barry Kelly
2001-08-03  0:07         ` Keith Thompson
2001-08-03  6:35         ` Gary Lisyansky
2001-08-16  5:19       ` David Thompson
2001-07-30 18:22     ` Stefan Nobis
2001-07-31  0:53     ` Adrian Hoe
2001-07-31  3:24       ` Russ Paielli
2001-07-31  6:47         ` Martin Dowie
2001-07-31  7:10           ` Russ Paielli
2001-07-31  7:22             ` Gary Lisyansky
2001-07-31  7:38             ` Keith Thompson
2001-07-31  8:20             ` Martin Dowie
2001-07-31 15:32           ` Ted Dennison
2001-07-31 11:16         ` David Gillon
2001-08-01  1:25         ` Adrian Hoe
2001-08-01  4:25           ` Russ
2001-08-01  8:22             ` MALAISE Pascal
2001-08-01  9:34             ` Preben Randhol
2001-08-01 10:32               ` AG
2001-08-01 15:55                 ` Russ
2001-08-01 16:50                   ` chris.danx
2001-08-01 15:52               ` Russ
2001-08-01 13:48             ` Stefan Nobis
2001-08-02  8:32               ` Pascal Obry
2001-08-01 10:08         ` AG
2001-07-31  8:29     ` Florian Weimer
2001-07-31 20:34       ` Keith Thompson
2001-07-30  8:36 ` Gary Lisyansky
2001-07-30 11:18   ` Gerhard Häring
2001-07-30 12:01     ` Gary Lisyansky
2001-07-30 12:56       ` Russ Paielli
2001-07-31  3:17         ` Warren W. Gay VE3WWG
2001-07-30 12:29     ` Preben Randhol
2001-07-30 13:11       ` Russ Paielli
2001-07-30 15:45         ` Darren New
2001-07-30 16:00           ` Preben Randhol
2001-07-30 16:26             ` Russ Paielli
2001-07-30 16:50               ` Gerhard Häring
2001-07-30 17:55               ` Larry Kilgallen
2001-07-30 17:23                 ` Darren New
2001-07-31  8:55                   ` Florian Weimer
2001-07-31  9:45                   ` Lutz Donnerhacke
2001-07-31  8:53               ` Florian Weimer
2001-07-31 10:14             ` Philip Anderson
2001-07-31  8:51         ` Florian Weimer
2001-07-31 16:16           ` Darren New
2001-07-31 16:20             ` Florian Weimer
2001-07-31 16:53               ` Darren New
2001-07-31 17:10                 ` Preben Randhol
2001-07-31 17:28                   ` Darren New
2001-08-01 16:55                     ` Florian Weimer
2001-08-01  0:21                 ` David Bolen
2001-08-01  3:33                   ` David Bolen
2001-07-30 12:49   ` Russ Paielli
2001-07-30 13:13     ` Gary Lisyansky
2001-07-30 13:49       ` Russ Paielli
2001-07-31  1:10         ` Adrian Hoe
2001-07-31  3:28     ` Warren W. Gay VE3WWG
2001-07-30 15:36 ` Gerhard Häring
2001-07-30 22:58 ` Gary Scott
2001-08-01 10:51   ` AG
2001-08-01 17:10     ` Russ
2001-07-31  2:41 ` Warren W. Gay VE3WWG
2001-07-31  4:24   ` Russ Paielli
2001-07-31  5:18     ` Warren W. Gay VE3WWG
2001-07-31 10:53     ` Philip Anderson
2001-07-31  8:03 ` Keith Thompson
2001-07-31 11:16   ` Philip Anderson
2001-08-01  0:00 ` Stanley R. Allen
2001-08-01  2:29 ` Russ
2001-08-01  7:10   ` Adrian Hoe
2001-08-01  7:33     ` Russ
2001-08-01 15:00       ` Adrian Hoe
2001-08-01 15:58         ` Russ
2001-08-01 17:32           ` Gary Scott
2001-08-01  7:13   ` Adrian Hoe
2001-08-01 14:09     ` Marin David Condic
2001-08-01 17:55       ` Russ
2001-08-01 18:26         ` Ted Dennison
2001-08-02  8:53         ` Stefan Nobis
2001-08-02 10:34         ` AG
2001-08-02 20:35         ` Barry Kelly
2001-08-01  7:19   ` Adrian Hoe
2001-08-01  9:51   ` Preben Randhol
2001-08-01 11:18   ` David Gillon
2001-08-01 16:05     ` Russ
2001-08-02  5:21       ` Warren W. Gay VE3WWG
2001-08-01 17:12   ` Scott Ingram
2001-08-01 18:10     ` Russ
2001-08-02 10:34       ` Leif Roar Moldskred
2001-08-07  2:55   ` Lao Xiao Hai
2001-08-07  3:56     ` Darren New
2001-08-07  7:34     ` Russ P.
2001-08-07 21:23       ` Lao Xiao Hai
2001-08-01  2:35 ` Mike Silva
2001-08-01  4:32   ` Russ
2001-08-01  4:56     ` Ed Falis
2001-08-01 10:21       ` AG
2001-08-01  4:23 ` raj

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