TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Harbaugh, John S" <[log in to unmask]>
Reply To:
Harbaugh, John S
Date:
Wed, 14 Oct 1998 07:36:32 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
> ----------
> From:         (No Name Available)[SMTP:[log in to unmask]]
> Reply To:     [log in to unmask]
> Sent:         Tuesday, October 13, 1998 9:26 PM
> To:   [log in to unmask]
> Subject:      Re: Ada's Pros and Cons
>
> [log in to unmask] (W. Wesley Groleau x4923) quoted and then
> wrote:
>
> >> ..... implemented good 70s level Fortran and
> >> Cobol system designs using Ada syntax.  ......
> >
> >You could easily add C and perhaps other to that list.  Sometimes
> they used
> >the syntax of their "native" language as far as the Ada compiler
> would let
> >them.
> >
> >   if (a = b) then ...
>
> That particular example seems like a case where Ada might do what the
> programmer
> wanted, rather than what the programmer wrote.  In C the programmer
> probably
> meant ==.
>
This illustrates a fundamental advantage of Ada:  It is difficult to
write correct programs that have typos.  This was one of the reasons
Bell Labs did not even submit C as a candidate language for what became
Ada.

Cheers,

        - John

ATOM RSS1 RSS2