Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Design of an Ada library of elementary functions with error handling
Corliss G. Journal of Pascal, Ada & Modula-26 (3):17-31,1987.Type:Article
Date Reviewed: Jul 1 1988

This paper describes the author’s Ada package of elementary mathematical functions, emphasizing its error handling features. An ERROR_HANDLER package provides error message printing, traceback lists, and controlled exception propagation. The specifications for the packages described are given, and an example program listing and its output demonstrate the concepts.

The paper explains several important guidelines for Ada programming and gives examples of good error handling techniques. Ada provides capabilities that are not available in other languages, and Ada students can benefit by seeing them used effectively.

Unfortunately, the paper is marred by a number of troublesome errors. The word instantiation, a central Ada concept, is misspelled throughout. The example listings contain typographical errors that will confuse an Ada student. Statements about the runtime cost of instantiation and the optimized linking of separate subunits are incorrect. There are allusions to additional complications that must be dealt with if Ada tasks are used, but these are not identified or explained.

The author describes a deficiency in the error handling capabilities of one vendor’s Ada compiler. However, the release of the compiler described is several years out of date, and the complaint does not apply to later releases. The author does not point this out.

An evaluation of this paper must be mixed. It is good because it addresses an important issue and explains it fairly well. However, it contains several errors that reduce its value for promoting a sound understanding of Ada. With a few deleted sentences and hand-written corrections, this could serve as a useful classroom handout.

In general, this paper is not up to the standards for accuracy and completeness found in other Ada publications. It should have been reviewed and revised prior to publication.

Reviewer:  R. P. Leavitt Review #: CR112323
Bookmark and Share
 
Software Libraries (D.2.2 ... )
 
 
Ada (D.3.2 ... )
 
 
Error Handling And Recovery (D.2.5 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Software Libraries": Date
Mixed language programming
Einarsson B., Gentleman W. Software--Practice & Experience 14(4): 383-392, 1984. Type: Article
May 1 1985
Programming solutions handbook for IBM microcomputers
Sanchez J., Canton M., McGraw-Hill, Inc., New York, NY, 1991. Type: Book (9780070545977)
Sep 1 1992
Experiences with writing library software for an attached processor
Pryce J. Software--Practice & Experience 15(7): 705-714, 1985. Type: Article
May 1 1986
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