Roles of Variables Home Page

Sorva J. (2007)

A Roles-Based Approach to Variable-Oriented Programming

J. Sajaniemi, M. Tukiainen, R. Bednarik, S. Nevalainen (eds.) Proceedings of the 19th Annual Workshop of the Psychology of Programming Interest Group (PPIG07), Joensuu, Finland, July, 2007. International Proceedings Series 7, University of Joensuu, Department of Computer Science and Statistics, 116-128.

Abstract: Delocalized variable plans pose problems for novice programmers trying to read and write programs. Variable-oriented programming is a programming paradigm that emphasizes the importance of variable-related schemas and brings actions pertaining to each variable together in one place in program code. This paper revisits the idea of variable-oriented programming and shows how it can be founded on roles of variables, stereotypes of variable use suitable for teaching to novices. The paper sketches out how variable-oriented, roles-based programming could be implemented using either a new programming language or a framework built on an existing language. The possible applications, merits and problems of a roles-based approach and variable-oriented programming in general are discussed. This paper points at possible research directions for the future and provides a basis for further discussions of variable-oriented, roles-based programming.

Back to the literature page


Last updated: August 6, 2007

saja.fi@gmail.com