<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=ProgramIndentation</id>
	<title>ProgramIndentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/index.php?action=history&amp;feed=atom&amp;title=ProgramIndentation"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=ProgramIndentation&amp;action=history"/>
	<updated>2026-04-13T07:29:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=ProgramIndentation&amp;diff=3350&amp;oldid=prev</id>
		<title>JonCruz: *</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=ProgramIndentation&amp;diff=3350&amp;oldid=prev"/>
		<updated>2003-12-21T17:12:38Z</updated>

		<summary type="html">&lt;p&gt;*&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Found at&lt;br /&gt;
http://www2.umassd.edu/SWPI/ProcessBibliography/bib-codereading2I-P.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Miara, J. R., J. A. Musselman, J. A. Navarro, and B. Shneiderman. Program&lt;br /&gt;
Indentation and Comprehensibility. Comm. ACM 26, 11 (Nov. 1983), 861-867. &lt;br /&gt;
&lt;br /&gt;
Abstract: The consensus in the programming community is that indentation&lt;br /&gt;
aids program comprehension, although many studies do not back this up. We&lt;br /&gt;
tested program comprehension on a Pascal program. Two styles of indentation&lt;br /&gt;
were used-blocked and nonblocked- in addition to four possible levels of&lt;br /&gt;
indentation (0, 2, 4, 6 spaces). Both experienced and novice subjects were&lt;br /&gt;
used. Although blocking style made no difference, the level of indentation&lt;br /&gt;
had a significant effect on program comprehension. (2-4 spaces had the&lt;br /&gt;
highest mean score for program comprehension.) We recommend that a moderate&lt;br /&gt;
level of indentation be used to increase program comprehension and user&lt;br /&gt;
satisfaction.&lt;br /&gt;
&lt;br /&gt;
This paper addresses the impact of indentation and blocking on program&lt;br /&gt;
comprehension. By blocked indentation, the authors mean that statements&lt;br /&gt;
immediately within a begin ... end pair share a common left margin with&lt;br /&gt;
those delimiting keywords. In nonblocked style, the delimited statements are&lt;br /&gt;
indented further. The authors review previous studies of indentation, noting&lt;br /&gt;
that their support for the hypothesis that program indentation aids program&lt;br /&gt;
readability and comprehension is, at best, ambiguous. They explain possible&lt;br /&gt;
reasons for the discrepancy between their results and those reported by&lt;br /&gt;
others. The results of the experiments reported here favor the view that&lt;br /&gt;
indentation aids comprehension, but they also show that excessive&lt;br /&gt;
indentation (6 or more spaces) does not increase the effect. Interestingly&lt;br /&gt;
enough, the novices in the study reacted very favorably to indented code and&lt;br /&gt;
rejected the nonindented program. Experts, on the other hand, showed no such&lt;br /&gt;
prejudice. This is a good paper on the effect of formatting practices. The&lt;br /&gt;
experiment was done carefully, which makes it especially relevant to those&lt;br /&gt;
interested in empirical studies. The practical wisdom to take away from the&lt;br /&gt;
paper is simple:&lt;br /&gt;
indent code three spaces to show its structure. This paper is recommended&lt;br /&gt;
for both instructors and students.&lt;/div&gt;</summary>
		<author><name>JonCruz</name></author>
	</entry>
</feed>