Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
The usefulness of standard functions in Modula-2: an example in relation to VDI
So . Journal of Pascal, Ada & Modula-26 (1):5-9,1987.Type:Article
Date Reviewed: Dec 1 1988

Most people recognize that standardization is beneficial for both customer and manufacturer, but it seems as if that argument doesn’t carry any weight in the computer industry. The microcomputer has brought some de facto standards to the marketplace. . . . This paper will focus on two areas where standardization hasn’t yet penetrated. One is the method for drawing graphics on different devices, and the other is low-level facilities in high-level languages. Standards are emerging however. Virtual Device Interface (VDI) and Modula-2 are good examples of how low-level facilities should be implemented in high-level languages. The two subjects are united by constructing a Modula-2 procedure which will do the basic call to VDI.

--Author’s Preface

This reviewer warmed immediately to an author able to write the opening sentence above. On reading the paper I was not disappointed, and my only quibble is with the use of the term “standard function.” As yet there is no Modula-2 standard, though one is under development. Whatever usage is common in Modula-2 literature, I would have preferred “built-in function” or “intrinsic function” to avoid ambiguity.

That, however, is minor. The paper will obviously interest anyone wishing to implement graphics functionality in Modula-2, but it should be required reading for any programmers or language implementors who dismiss the benefits of standardization, or who believe that language standards should allow low-level matters to be “implementation dependent.” It is also a good, small-scale illustration of the virtues of the module concept in language design. As such, it is worth looking at for those used to more primitive languages, for example, those who have resisted the introduction of modules into FORTRAN 8x.

The author’s own conclusion sums the paper up well:

It has been shown, by example, that Modula-2 standard functions are of great practical value and give the programmer a uniform high-level way of doing things that otherwise would often have been programmed in assembler.

Reviewer:  Brian L. Meek Review #: CR112319
Bookmark and Share
 
Procedures, Functions, And Subroutines (D.3.3 ... )
 
 
Graphics Packages (I.3.4 ... )
 
 
Modula-2 (D.3.2 ... )
 
 
Standards (D.3.0 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Procedures, Functions, And Subroutines": Date
Routines: an argument against the conventional approach to functions and procedures
Middleton A. Software--Practice & Experience 16(2): 119-130, 1986. Type: Article
Dec 1 1986
Parameter transmission abstractions
Jokinen M. The Computer Journal 33(2): 133-139, 1990. Type: Article
Jun 1 1991
Converting call-by-reference to call-by-value: Fortran and Lisp coexisting
Fateman R., Toy R.  Symbolic and algebraic computation (Proceedings of the 2003 international symposium, Philadelphia, PA, USA, Aug 3-6, 2003)95-102, 2003. Type: Proceedings
Jan 26 2004
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