Studying the language and structure in non-programmers' solutions to programming problems

被引:113
作者
Pane, JF [1 ]
Ratanamahatana, C
Myers, BA
机构
[1] Carnegie Mellon Univ, Dept Comp Sci, Pittsburgh, PA 15213 USA
[2] Carnegie Mellon Univ, Human Comp Interact Inst, Pittsburgh, PA 15213 USA
关键词
D O I
10.1006/ijhc.2000.0410
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Programming may be more difficult than necessary because it requires solutions to be expressed in ways that are not familiar or natural for beginners. To identify what is natural, this article examines the ways that non-programmers express solutions to problems that were chosen to be representative of common programming tasks. The vocabulary and structure in these solutions is compared with the vocabulary and structure in modern programming languages, to identify the features and paradigms that seem to match these natural tendencies as well as those that do not. This information can be used by the designers of future programming languages to guide the selection and generation of language features. This design technique can result in languages that are easier to learn and use, because the languages will better match beginners' existing problem-solving abilities. (C) 2001 Academic Press.
引用
收藏
页码:237 / 264
页数:28
相关论文
共 33 条
[1]  
[Anonymous], 1983, IEEE Computer
[2]  
[Anonymous], P ACM C HUM FACT COM
[3]   AN EXPERIMENTAL-STUDY OF NATURAL-LANGUAGE PROGRAMMING [J].
BIERMANN, AW ;
BALLARD, BW ;
SIGMON, AH .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 18 (01) :71-87
[4]  
Bonar J., 1989, STUDYING NOVICE PROG, P325
[5]  
BONAR JG, 1988, INTELLIGENT TUTORING, P409
[6]  
Bourne L. E., 1966, HUMAN CONCEPTUAL BEH
[7]  
Bruckman Amy, 1999, P SIGCHI C HUMAN FAC, P207, DOI DOI 10.1145/302979.303040
[8]  
DETIENNE F, 1990, P INTERACT 90 C COMP, P971
[9]  
Du Boulay B., 1986, Journal of Educational Computing Research, V2, P57, DOI 10.2190/3LFX-9RRF-67T8-UVK9
[10]   WHAT NON-PROGRAMMERS KNOW ABOUT PROGRAMMING - NATURAL-LANGUAGE PROCEDURE SPECIFICATION [J].
GALOTTI, KM ;
GANONG, WF .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1985, 22 (01) :1-10