How to Write Compound Statements in Structured Computer Programming Languages?

André Vandierendonck, Geert De Soete, Freddy Vlaeminck · Psychologica Belgica · 1985

An experiment is reported which demonstrates that novice computer programmers show a better comprehension of moderately complex computer programs composed according loan indenting scheme in which a new line is taken for each compound statement, as compared to programs in which the compound statement starts at the end of the line containing the statement. There was no interaction between the indenting scheme and the specific programming language used (RATFOR vs. PASCAL).

Read the paper · More papers on PaperTik