ARE OBJECTS THAT IMPORTANT - EFFECTS OF EXPERTISE AND FAMILIARITY ON CLASSIFICATION OF OBJECT-ORIENTED CODE

被引:15
作者
DAVIES, SP [1 ]
GILMORE, DJ [1 ]
GREEN, TRG [1 ]
机构
[1] MRC,APPL PSYCHOL UNIT,CAMBRIDGE,ENGLAND
来源
HUMAN-COMPUTER INTERACTION | 1995年 / 10卷 / 2-3期
关键词
D O I
10.1207/s15327051hci1002&3_3
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This article reports a study of the use of card sorts in the categorization of fragments of abject-oriented (OO) programs. We are interested in the way in which programmers think about code so that we might attempt to provide support for browsing and reuse activities within OO environments. As a consequence, we have been exploring the use of knowledge acquisition techniques in order to elicit programmers' knowledge about code. The study reported here required expert and novice programmers to sort through several cards, each containing a fragment of code. In the case of the expert group, half of the subjects were familiar with the code, and half were not. The subjects sorted the cards according to any criteria they felt were appropriate. Our results showed, contrary to our expectations, that experts tended to focus on the functional relations between the code fragments and that the novices were much more concerned with objects and inheritance relations. Moreover, those experts who were familiar with the code also appeared to focus to a greater degree on functional information compared to those who were unfamiliar with the code, who derived classifications based on object and class relations. We discuss these results in terms of the existing body of knowledge about expertise in procedural programming and with respect to the claims that have been made about the naturalness of conceiving the world in terms of objects and their relations. Last, we suggest several directions for future research into the psychological mechanisms that might underpin OO design and programming.
引用
收藏
页码:227 / 248
页数:22
相关论文
共 26 条
[1]   PROBLEM-SOLVING AND THE DEVELOPMENT OF ABSTRACT CATEGORIES IN PROGRAMMING-LANGUAGES [J].
ADELSON, B .
MEMORY & COGNITION, 1981, 9 (04) :422-433
[3]   COGNITIVE PROCESSING DIFFERENCES BETWEEN NOVICE AND EXPERT COMPUTER PROGRAMMERS [J].
BATESON, AG ;
ALEXANDER, RA ;
MURPHY, MD .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1987, 26 (06) :649-660
[4]   OBJECT-ORIENTED DEVELOPMENT [J].
BOOCH, G .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (02) :211-221
[5]  
Burton A. M., 1990, Knowledge Acquisition, V2, P167, DOI 10.1016/S1042-8143(05)80010-X
[6]  
BURTON AM, 1987, RES DEV EXPERT SYSTE, P136
[7]  
Carroll J. M., 1991, DESIGNING INTERACTIO, P1
[8]   CATEGORIZATION AND REPRESENTATION OF PHYSICS PROBLEMS BY EXPERTS AND NOVICES [J].
CHI, MTH ;
FELTOVICH, PJ ;
GLASER, R .
COGNITIVE SCIENCE, 1981, 5 (02) :121-152
[9]  
CHI MTH, 1981, ADV PSYCHOL HUMAN IN, V1
[10]  
Davies Simon, 1992, DESIGN STUDIES, V13, P379, DOI DOI 10.1016/0142-694X(92)90141-V