Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Restriction riddance: more power to parentheses
van Batenburg F. ACM SIGAPL APL Quote Quad25 (1):220-224,1994.Type:Article
Date Reviewed: Aug 1 1995

The author points out that the history of APL is one of the removal of restrictions, citing as examples not having to declare the datatypes of language elements such as variables before use, not tying them to one datatype, and not having to declare array sizes. He goes on to propose the relaxation of another restriction in APL, the one that confines the use of parentheses to expressions that yield the argument of a function, and he gives examples of ways in which freer use of parentheses could contribute to the solutions to programming problems. He ends by proposing two further steps, allowing vectors of expressions as well as of functions, and removing the requirement that opening and closing parentheses in a single line must match. This, he argues, would allow “natural” (in APL terms) implementations of constructs familiar from other languages, if…else and case.

The paper will interest most regular and many occasional APL users, and those who do not routinely read APL conference proceedings or APL Quote Quad may wish to look it up. Syntax-mongering is a popular pastime in most language communities, and APLers are known for devising, by way of relaxation, programs that cram the maximum processing into one line; this paper may provoke further offerings of both kinds. The text is lively and readable but marred by a considerable number of misprints, the most prominent of which, the misspelling of “parentheses” in the running footer, is not the author’s fault. The misprints caused me to ponder a potential side-effect of removal of syntactic restrictions, namely the increased risk that a typo will produce, not an error, but the solution to a different problem from the one you thought you were programming.

Reviewer:  Brian L. Meek Review #: CR118964 (9508-0598)
Bookmark and Share
 
Apl (D.3.2 ... )
 
 
Procedures, Functions, And Subroutines (D.3.3 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Apl": Date
The A+ programming language, a different APL
Girardot J. ACM SIGAPL APL Quote Quad 20(4): 149-160, 1990. Type: Article
May 1 1992
APL?
Hui R., Iverson K., McDonnell E., Whitney A. ACM SIGAPL APL Quote Quad 20(4): 192-200, 1990. Type: Article
Nov 1 1991
The family of Soviet APL systems
Kondrashev A. ACM SIGAPL APL Quote Quad 20(4): 214-216, 1990. Type: Article
Jan 1 1992
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