Content area

Abstract

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.

Details

1007399
Identifier / keyword
Sponsor
National Science Foundation
IES grant or contract numbers
CNS-0940521
Title
An Empirical Investigation into Programming Language Syntax
Volume
13
Issue
4
Pages
40
Number of pages
40
Publication date
November 2013
Printer/Publisher
Association for Computing Machinery
2 Penn Plaza Suite 701, New York, NY 10121
http://toce.acm.org/
Tel.: 800-342-6626; 212-626-0500, Fax: 212-944-1318
Publisher e-mail
eISSN
1946-6226
Source type
Scholarly Journal
Peer reviewed
Yes
Summary language
English
Language of publication
English
Document type
Article, Report
Number of references
83
Contract number
CNS-0940521
Subfile
ERIC, Current Index to Journals in Education (CIJE)
Accession number
EJ1042402
ProQuest document ID
1651860860
Document URL
https://www.proquest.com/scholarly-journals/empirical-investigation-into-programming-language/docview/1651860860/se-2?accountid=208611
Last updated
2024-04-10
Database
Education Research Index