Content deleted Content added
m Open access bot: doi added to citation with #oabot. |
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
||
Line 16:
The JSP version of the program is structurally equivalent to
<
String line;
Line 30:
System.out.println(firstLineOfGroup + " " + count);
}
</syntaxhighlight>
and the traditional version of the program is equivalent to
<
String line;
Line 53:
System.out.println(firstLineOfGroup + " " + count);
}
</syntaxhighlight>
Jackson criticises the traditional version, claiming that it hides the relationships which exist between the input lines, compromising the program's understandability and maintainability by, for example, forcing the use of a special case for the first line and forcing another special case for a final output operation.
Line 133:
If we put all this together, we can convert the diagram and the primitive operations into C, maintaining a one-to-one correspondence between the code and the operations and structure of the program design diagram.
<
#include <stdio.h>
#include <stdlib.h>
Line 159:
return EXIT_SUCCESS;
}
</syntaxhighlight>
== Criticism ==
|