DocumentCode :
1403854
Title :
Some comments on the coding of programs
Author :
Holmes, Neville
Author_Institution :
Sch. of Comput., Tasmania Univ., Hobart, Tas., Australia
Volume :
33
Issue :
11
fYear :
2000
fDate :
11/1/2000 12:00:00 AM
Lastpage :
127
Abstract :
Exactness and accuracy are not the same thing. Compilers require program code to be exact. Computers provide arithmetic that is inexact. Programmers must take particular care with their coding if they wish to ensure that their programs produce accurate results. Programmers must also take particular care if their compilers are to produce correct results. Coding must be exact, except for the comments, which the compiler ignores. Overlook one inconspicuous mistake in spelling or punctuation and your program may run wildly astray or, much worse, subtly astray. Although compilers, interpreters and code editors detect many of these mistakes, not all such errors render the code invalid; those that do not will escape automatic detection. Much could be done to help programmers avoid such coding errors. Unfortunately, more attention seems always to be given to making programs understandable. The two objectives are not contradictory, but there seem to be ingrained attitudes that prevent the use of certain simple coding techniques such as those that I describe. Cobol provides a case in point
Keywords :
COBOL; programming; subroutines; Cobol; code editors; program coding; program compilers; program interpreters; programming; subroutines; Brushes; Control systems; Machine tools; Natural languages; Particle separators; Program processors; Programming profession; Psychology; Scattering; Writing;
fLanguage :
English
Journal_Title :
Computer
Publisher :
ieee
ISSN :
0018-9162
Type :
jour
DOI :
10.1109/2.881700
Filename :
881700
Link To Document :
بازگشت