Title

Designing and explaining programs with a literate pseudocode

Document Type

Journal Article

Publisher

ACM Press

Faculty

Computing, Health and Science

School

Computer and Information Science, Centre for Security Research

RAS ID

4906

Comments

This article was originally published as: Roy, G. G. (2006). Designing and explaining programs with a literate pseudocode. Journal on Educational Resources in Computing (JERIC), 6(1), 1. Original available here

Abstract

Designing and explaining programs are often difficult tasks, especially when novices are involved. It also concerns more experienced programmers when complex algorithms need to be carefully explained and documented as part of software development.Good practice suggests that code and documentation be tightly coupled; but there are only a few support tools specifically targeted at novices that require this as an integral part of the programming process. We propose a new tool design with this objective in mind: P-Coder gives a flexible descriptive view of the program via pseudocode notation within a graphical tree-structured model, from which the complete algorithm can be specified to retain the informal description integrated with the final code. Thus the code meets some of the key requirements for realizing a literate program.

DOI

10.1145/1217862.1217863

 

Link to publisher version (DOI)

10.1145/1217862.1217863