ERIC Number: EJ1042402
Record Type: Journal
Publication Date: 2013-Nov
Pages: 40
Abstractor: As Provided
ISBN: N/A
ISSN: EISSN-1946-6226
EISSN: N/A
Available Date: N/A
An Empirical Investigation into Programming Language Syntax
Stefik, Andreas; Siebert, Susanna
ACM Transactions on Computing Education, v13 n4 Article 19 Nov 2013
Recent studies in the literature have shown that syntax remains a significant barrier to novice computer science students in the field. While this syntax barrier is known to exist, whether and how it varies across programming languages has not been carefully investigated. For this article, we conducted four empirical studies on programming language syntax as part of a larger analysis into the, so called, programming language wars. We first present two surveys conducted with students on the intuitiveness of syntax, which we used to garner formative clues on what words and symbols might be easy for novices to understand. We followed up with two studies on the accuracy rates of novices using a total of six programming languages: Ruby, Java, Perl, Python, Randomo, and Quorum. Randomo was designed by randomly choosing some keywords from the ASCII table (a metaphorical placebo). To our surprise, we found that languages using a more traditional C-style syntax (both Perl and Java) did not afford accuracy rates significantly higher than a language with randomly generated keywords, but that languages which deviate (Quorum, Python, and Ruby) did. These results, including the specifics of syntax that are particularly problematic for novices, may help teachers of introductory programming courses in choosing appropriate first languages and in helping students to overcome the challenges they face with syntax.
Descriptors: Programming Languages, Syntax, Computer Science Education, Novices, Accuracy, College Students, Student Surveys, Online Surveys, Difficulty Level
Association for Computing Machinery. 2 Penn Plaza Suite 701, New York, NY 10121. Tel: 800-342-6626; Tel: 212-626-0500; Fax: 212-944-1318; e-mail: acmhelp@acm.org; Web site: http://toce.acm.org/
Publication Type: Journal Articles; Reports - Research
Education Level: Higher Education; Postsecondary Education
Audience: N/A
Language: English
Sponsor: National Science Foundation
Authoring Institution: N/A
Identifiers - Location: Illinois
Grant or Contract Numbers: CNS-0940521
Author Affiliations: N/A

Peer reviewed
Direct link
