Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

L-one-two-three (L1:.L2:.L3:) considered harmful

Published: 01 July 1991 Publication History

Abstract

It is said by non-APL-programmers that APL code is hard to read and that it is unstructured. Here we argue that APL-programmers may refute this assertion by pointing out some misunderstandings, but admittedly a final analysis will show a deeper truth in these criticisms. We will show that APL gives ample opportunity for unstructured code. Two proposals are presented to address this problem.The first rejects the developed convention for labelling and suggests the adoption of a proper style of programming enforced by a new standard of labelling. This standard will abolish unstructured code. Both negative and positive aspects of this proposal are discussed.The second proposal revives an old idea of introducing one single proper control structure into the language. This would make the current jump (→) superfluous and enforce structured code.

References

[1]
F.H.D.van Batenburg, "New control structures in APL" Quote Quad. vol.13, hr.2, pp.15-20, (1982).
[2]
F.H.D.van Batenburg and R.Prins, "QL/APL: A leap back - or forward?" Vector vol.2, nr.2, pp.l15-117, (1985).
[3]
j.Bunda, "APLfunction definition notation" Quote Quad. vol.17, nr.4, pp.253-255, (1987).
[4]
J.K.Dorocak, "APL functions which enhance APL branching" Quote Quad. Conf.Proc. pp.99-105, (1976).
[5]
E.W.Dijkstra, "GOTO statement considered harmful" ACM Comm. vol.ll, nr.3, pp.147-148, (1968).
[6]
E.V.Eusebi, "Operators for program control" Conf.Proc.pp. 181-189, (1985).
[7]
J.P.Fiegenschue, "A proposal for blocks and exits in APL" Quote Quad. vol.17, nr.4, pp.391-397, (1987).
[8]
R.Fisher, "A note on GOTO-less programming in APL using the unquote operator" SIGPLAN vol.17, nr.7, pp.80-87, (1982).
[9]
G.H.Foster, "What lies beyond the branch arrow" Conf.Proc.pp.115-122, (1975).
[10]
W.K.Giloi and R.Hoffman, "Adding a modern control structure to APL without changing the syntax" APL76 Conf.Proc.pp. 189-194, (1976).
[11]
K.R.Harris, "A logical control structure for APL" Congr.Proc.pp.203-210, (1973).
[12]
K.E.Iverson, "Elementary analysis" APL Press Swarthmore pp.1-288, (1976).
[13]
F.Kemp, "Design of a structured APL" Quote Quad. vol.9, nr.1, pp.ll-13, (1978).
[14]
J.L.F.de Kerf, "APL and structured programming; an annotated biography" APL CAM vol.8, nr.2, pp.340-363 (1986).
[15]
G.A.Langlet, "APL "RISC" Programming Style" Vector vol.6, nr.2, pp.23-24, (1989).
[16]
A.L.Lim, and G.R.Lewis, "Towards structured programs in APL" Comp.Journ. vol.18, nr.2, pp.140-143, (1974).
[17]
J.Martin and C.McClure, tagrammmg techniques for analysts and programmers" Prentice, Englewood, (1983).
[18]
I.Nassi and B.Shneiderman, "Flowchart techniques for structured programming" SIGPLAN notice nr.8, pp.12-26, (1973).
[19]
M.Osbome and F.Little, "An implementation of structured programming in APL " Comp.Joum. vol.21, nr.4, pp.311-315, (1978).
[20]
A.P.Reeves, and J.Besemer, "Special control structures in APL" Quote Quad. vol.9, nr.2, pp.23-31, (1978).
[21]
E.Yourdon(ed.), "Managing the structured techniques" Yourdon, New York, (1979).
[22]
Z.V. Jizba, "The Time is Ripe for a Dyadic Execute" Quote Quad. vol.19, nr.2, pp.5-6, (1988).

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGAPL APL Quote Quad
ACM SIGAPL APL Quote Quad  Volume 21, Issue 4
Aug. 1991
390 pages
ISSN:0163-6006
DOI:10.1145/114055
Issue’s Table of Contents
  • cover image ACM Conferences
    APL '91: Proceedings of the international conference on APL '91
    July 1991
    396 pages
    ISBN:0897914414
    DOI:10.1145/114054

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 July 1991
Published in SIGAPL Volume 21, Issue 4

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)40
  • Downloads (Last 6 weeks)13
Reflects downloads up to 13 Sep 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media