Roles of variables are a new concept that can be utilized in teaching programming to novices. Roles represent programming knowledge on a higher level than simple programming language knowledge. Role knowledge has traditionally been tacit but it can be made explicit and thus help students to understand the ways variables are used in programs. Roles can also be used in analyzing large-scale programs making roles a useful concept for experts, too.
Last updated: March 26, 2008