comp.lang.ada
 help / color / mirror / Atom feed
From: "Richard  Riehle" <adaworks@earthlink.net>
Subject: Re: Announcing new scripting/prototyping language
Date: Thu, 04 Mar 2004 16:58:12 GMT
Date: 2004-03-04T16:58:12+00:00	[thread overview]
Message-ID: <EeJ1c.21194$aT1.13476@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: 4022F87C.BFC600CC@worldnet.att.net


"Les Cargill" <lcargill@worldnet.att.net> wrote in message
news:4022F87C.BFC600CC@worldnet.att.net...
> Larry Hazel wrote:
.
>
> 'C' is a right-regular language, with good orthogonality of
> operators. That literally means "easy to read" - or at least
> having the capacity to be writrten in a fashion that is easy
> to read.
>
Easy to read may not be the same as easy to understand.  My
criteria is focused more on understandability than simple readability.
I am often confronted with mathematical formulations that use
a set of symbols, or a combination of symbols, that I can easily
read, but which require study and hard work to actually understand.

Small C programs are relatively easy to understand.   My problem
with the language is that understandability does not scale well as
program grow.  There seems to be a rapid loss of easily accessible
meaning in C programs of any serious size.

I don't have this same problem with Ada.   That is one of the reasons
I prefer Ada over C, even over C++, for larger programs.  As an
Ada program grows, its understandability does not suffer as much
as does a corresponding program in C.

Dr. Robert Dewar, of NYU, has often made the point that Ada is
more readable than writeable.   It has so often been my experience
that C programmers find it annoying to write := instead of = for
assignment.  And C programmers miss compound assignment
operators.  While these features of the language, along with many
more, make it easier for some programmers to lay down code
quickly, they do not make that code easier to read, even by other
C programmers.

From my perspective, the entire C family of languages, with the exception
of C#, has suffered, in terms of understandability, from the persistence
of original C syntax, and the failure to tidy up understandability has they
evolve from the mother tongue.

When I am in the classroom, for students who have never seen much of C
or Ada, programs written in Ada are almost always easier for them to
understand, on first reading, than programs written in any of the C family.

Richard Riehle





  parent reply	other threads:[~2004-03-04 16:58 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-05 22:13 Announcing new scripting/prototyping language Dave Allison
2004-02-05 22:19 ` Christopher Benson-Manica
2004-02-05 22:56   ` Larry Hazel
2004-02-05 23:40     ` Victor Bazarov
2004-02-06 15:44       ` Georg Bauhaus
2004-02-06 15:49         ` Victor Bazarov
2004-02-06 16:01           ` Georg Bauhaus
2004-02-06 16:06             ` Victor Bazarov
2004-03-04 16:40         ` Richard  Riehle
2004-02-05 23:53     ` Richard Heathfield
2004-02-06  8:38       ` Joona I Palaste
2004-02-06 14:49         ` Frank J. Lhota
2004-02-06 15:23           ` Martijn Lievaart
2004-02-06 19:01             ` Frank J. Lhota
2004-02-06 19:02               ` Jeff Schwab
2004-02-06 21:25                 ` Martijn Lievaart
2004-02-07 14:43                   ` Martin Krischik
2004-02-06 18:29           ` Dan Pop
2004-02-06 19:17             ` Frank J. Lhota
2004-02-07 20:33         ` Y2KYZFR1
2004-02-07 20:42           ` Joona I Palaste
2004-02-08  4:54           ` Les Cargill
2004-02-09 18:11           ` Warren W. Gay VE3WWG
2004-02-06  2:09     ` Les Cargill
2004-02-06  8:26       ` Preben Randhol
2004-02-06 16:23         ` Les Cargill
2004-02-06 18:15           ` Preben Randhol
2004-02-06 17:43       ` Martin Krischik
2004-03-04 16:58       ` Richard  Riehle [this message]
2004-03-04 17:45         ` Warren W. Gay VE3WWG
2004-02-06 17:39   ` Martin Krischik
2004-02-06  1:00 ` Unforgiven
2004-02-06  3:02 ` Jack Klein
replies disabled

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