What You See Is What You Code: A Live Algorithm Development and Visualization Environment for Novice Learners

Hundhausen, Brown, 2007

Notes

There is a shortcoming of the delayed feedback development model: it prevents programmers from leveraging visual feedback on their code at edit time, something very helpful for novice coders. Edit time feedback could prevent problems that arise due to an inability to see the effects of code immediately. The live algorithm development and visualization model, What You See Is What You Code (WYSIWYC) is presented for introductory CS students. It offers immediate feedback on syntactic correctness, suggestions on how to create syntactically correct code, and updates the accompanying visualization in another window.

The edit time feedback mechanism is generally successful in helping to understand the effects of code and to develop correct algorithmic solutions, debug, and program. Some problems that stood out were: users not noticing the tooltips displayed on every keystroke to help with editing, as well as requiring special input boxes that became tedious and disrupted user workflow.

Tanimotos liveness taxonomy: 4 levels of programming environment liveness. Level one allows one to interactively create, but not execute, a program. Level 2 allows one to interactively create a program that must then be executed. Level 3 triggers computation by the system with any edit operation, making it unnecessary for the user to explicitly execute a program. Level 4 allows a program to be edited while running, and does not have to stop or restart the program for the changes to be reflected in execution.

Link to PDF