comp.lang.ada
 help / color / mirror / Atom feed
From: ian@rsd.bel.alcatel.be (Ian Ward)
Subject: Re: next "big" language?? (disagree)
Date: 1996/06/11
Date: 1996-06-11T00:00:00+00:00	[thread overview]
Message-ID: <4pjl57$cn0@btmpjg.god.bel.alcatel.be> (raw)
In-Reply-To: 4phmsb$1dd@gaia.ns.utk.edu


In reply to my earlier statements along the lines of having the 
compiler hammer out the syntax checking ...

James O'Connor wrote :

: This is precisely why I enjoy Smalltalk so much.  With very few 
: syntactical rules to worry about, whether I'm writing code or reading 
: someone elses, I can concentrate more on the intent of the code.  "What 
: needs to be accomplished" rather than "What language rules do I have to 
: remember for this situation".

Firstly, I didn't say there were no syntax rules to Ada, there
are, and they are there for the reason that they help eradicate
errors in program production, (note that James O'Connor hasn't 
specifically stated this about Smalltalk either but as I only
have a finite time to learn languages I am not qualified to 
make a guess what he meant by it.)

Which then brings me to Mathew B. Kennel's retort 

> And by doing so turns what would otherwise be superficial syntactic or
> linguistic errors into programs with run-time bugs. 

If he is talking about Ada here, then I think his argument is flawed
because it, in my opinion, assumes that the rate of errors per SLOC
a programmer makes is independent of language.

I don't think that for every syntax error a programmer spots in
his code as a result of a compiler listing, another semantic error
is created instead, (or is even present.)

It is more likely that a given programmer generally has N syntax
errors/1000SLOC and M semantic errors/1000SLOC (where M and N
vary on the ability of the programmer, his interest in his work,
and the difficulty of it.)

In this situation, a good compiler, will point out his N syntax errors,
which he will correct. In the process of correcting these, it is
also likely that he will spot a few of the semantic errors.
This would then leave < M semantic errors for the programmer to
track down at run-time.

All the language would then need is some kind of run time checking
to help him out.

---
Ian Ward's opinions only : ian@rsd.bel.alcatel.be





  parent reply	other threads:[~1996-06-11  0:00 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-07  0:00 next "big" language?? (disagree) Ian Ward
1996-06-08  0:00 ` O'Connor
1996-06-10  0:00   ` Matt Kennel
1996-06-11  0:00     ` Robb Nebbe
1996-06-11  0:00     ` Ian Ward [this message]
1996-06-12  0:00       ` Norman H. Cohen
1996-06-09  0:00 ` Robert Dewar
     [not found] <4p0fdd$4ml@news.atlantic.net>
1996-06-04  0:00 ` Peter Hermann
1996-06-04  0:00   ` The Amorphous Mass
1996-06-04  0:00     ` Robert Dewar
1996-06-06  0:00       ` Ken Garlington
1996-06-04  0:00     ` Peter Hermann
1996-06-04  0:00       ` The Amorphous Mass
1996-06-05  0:00         ` Michael David WINIKOFF
1996-06-07  0:00           ` Robert Dewar
1996-06-05  0:00     ` Ian Ward
1996-06-05  0:00       ` The Amorphous Mass
1996-06-08  0:00         ` Robert Dewar
1996-06-08  0:00           ` The Amorphous Mass
1996-06-09  0:00             ` Robert Dewar
1996-06-08  0:00         ` Robert Dewar
1996-06-05  0:00   ` ++           robin
1996-06-05  0:00     ` Ian Ward
1996-06-05  0:00       ` Ian Ward
1996-06-06  0:00         ` Richard Riehle
1996-06-07  0:00           ` Richard Riehle
1996-06-08  0:00             ` O'Connor
1996-06-07  0:00           ` Robert Dewar
1996-06-10  0:00             ` Richard Riehle
1996-06-11  0:00           ` ++           robin
1996-06-11  0:00             ` David Weller
1996-06-11  0:00             ` Chris Warack <sys mgr>
1996-06-11  0:00             ` James_Rogers
1996-06-11  0:00               ` Kevin J. Weise
1996-06-11  0:00         ` ++           robin
1996-06-11  0:00           ` Ian Ward
1996-06-12  0:00             ` ++           robin
1996-06-12  0:00               ` Ian Ward
1996-06-11  0:00       ` Jon S Anthony
     [not found]   ` <4p60nk$imd@euas20.eua.ericsson.se>
     [not found]     ` <4p8lmq$oq7@goanna.cs.rmit.edu.au>
1996-06-11  0:00       ` ++           robin
1996-06-11  0:00         ` A. Grant
1996-06-12  0:00           ` ++           robin
1996-06-12  0:00             ` A. Grant
1996-06-14  0:00               ` Richard A. O'Keefe
1996-06-12  0:00           ` Robert Dewar
1996-06-17  0:00             ` A. Grant
1996-06-18  0:00               ` Robert Dewar
1996-06-24  0:00                 ` Robert I. Eachus
1996-06-26  0:00                   ` Norman H. Cohen
1996-06-19  0:00             ` Jon S Anthony
1996-06-20  0:00               ` Robert Dewar
1996-06-24  0:00                 ` Keith Thompson
1996-06-25  0:00                   ` Robert A Duff
1996-06-25  0:00                   ` Simon Read
1996-06-24  0:00                 ` Dale Stanbrough
1996-06-24  0:00                   ` Adam Beneschan
1996-06-24  0:00                   ` Robert Dewar
1996-06-24  0:00                   ` hopkinc
1996-06-24  0:00                   ` Lars Duening
1996-06-26  0:00                   ` Marc C. Brooks
1996-06-26  0:00                   ` Marc C. Brooks
1996-06-24  0:00                 ` Adam Beneschan
1996-06-25  0:00                 ` Darin Johnson
1996-06-26  0:00                   ` Dale Stanbrough
1996-06-26  0:00                   ` A. Grant
1996-06-25  0:00                 ` Brian Nettleton @pulsar
1996-06-26  0:00                   ` Robert Dewar
1996-06-28  0:00                     ` Fergus Henderson
1996-06-28  0:00                       ` Robert Dewar
1996-06-30  0:00                         ` Fergus Henderson
1996-06-30  0:00                           ` Robert Dewar
1996-06-12  0:00         ` Richard A. O'Keefe
1996-06-12  0:00           ` ++           robin
1996-06-12  0:00             ` Richard A. O'Keefe
1996-06-13  0:00               ` ++           robin
1996-06-13  0:00               ` ++           robin
1996-06-12  0:00   ` Jon S Anthony
1996-06-14  0:00   ` Jon S Anthony
1996-06-15  0:00   ` Jon S Anthony
1996-06-18  0:00     ` Adam Beneschan
1996-06-18  0:00   ` Jon S Anthony
1996-06-06  0:00 ` Dale Pontius
1996-06-11  0:00 ` Jon S Anthony
1996-06-18  0:00 ` ++           robin
replies disabled

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