Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Fatal error in pass zero: how not to confuse novices
du Boulay B., Matthew I.  Readings on cognitive ergonomics - mind and computers (, Gmunden, Austria,1411984.Type:Proceedings
Date Reviewed: Sep 1 1985

It is nice to know that well into the era of 4th and 5th generation languages, application generators, software engineering, and the like, someone is still worrying about novice programmers. Pity the poor programmer whose innocent error results in “Fatal Error in Pass 0” from the less-than-friendly PASCAL compiler, or worse. I wish I had a collection of similar messages, including a gem from a UNIVAC FORTRAN compiler which said, “SIMPLIFY THIS STATEMENT,” and meant it]

The authors’ point is that many messages are not nearly so clear. They feel compiler writers have placed emphasis on producing efficient code, and not on helping the programmer determine what is wrong, especially when a simple error (e.g., fori:=1 to 10 do) results in a cascade of error messages. Perhaps the worst case--omitted data definitions (which can produce pages of messages describing illegal use of data)--is not discussed. Debugging in modern environments, where procedural language code is generated, is also not discussed. At a minimum, new programmers are now or will soon use tools which aid even traditional coding by providing prompts for statements, a check of logic levels, and ending of iteration loops, etc., thereby avoiding most errors of the types described.

The authors report on their work to develop a prototype checker for PASCAL, “. . . not as a model of how this task should be carried out but to underline our argument that the task should be done.” It is doubtful many need convincing that it would be nice. Ten or 15 years ago such work would have been of real value. Whether the effort is justified today in light of the clear trend towards much higher level languages for general use is questionable. The paper also includes a survey of work on program error detection and correction efforts.

Reviewer:  W. S. Hoffman Review #: CR109351
Bookmark and Share
 
Preprocessors (D.3.4 ... )
 
 
Human Factors (H.1.2 ... )
 
 
User Interfaces (D.2.2 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Preprocessors": Date
Papering over deficiencies in your language for convenience and portability: preprocessors vs. standards
Feldman S.  Tools, methods and languages for scientific and engineering computation (, Paris, France,2741984. Type: Proceedings
Jan 1 1986
VAX FORTRAN to FORTRAN 77 translator
Hessel R., Chico S. Advances in Engineering Software 7(3): 142-156, 1985. Type: Article
Jun 1 1987
Parallelizing Subroutines in Sequential Programs
Chu C., Carver D. IEEE Software 11(1): 77-85, 1994. Type: Article
Nov 1 1995
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy