arrow
Return

Here We Go Again: Why Is It Difficult for Developers to Learn Another Programming Language?

delete2022-02-23
delete1
delete
OA
AI
N
Nischal Shrestha *
C
Colton Botta
T
Titus Barik
C
Chris Parnin
DOI:10.1145/3511062delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Once a programmer knows one language, they can leverage concepts and knowledge already learned, and easily pick up another programming language. But is that always the case? To understand if programmers have difficulty learning additional programming languages, we conducted an empirical study of Stack Overflow questions across 18 different programming languages. We hypothesized that previous knowledge could potentially interfere with learning a new programming language. From our inspection of 450 Stack Overflow questions, we found 276 instances of interference that occurred due to faulty assumptions originating from knowledge about a different language. To understand why these difficulties occurred, we conducted semistructured interviews with 16 professional programmers. The interviews revealed that programmers make failed attempts to relate a new programming language with what they already know. Our findings inform design implications for technical authors, toolsmiths, and language designers, such as designing documentation and automated tools that reduce interference, anticipating uncommon language transitions during language design, and welcoming programmers not just into a language, but its entire ecosystem.

Journal

Communications of the ACM cover
Communications of the ACM
IF:
12.2
Papers:
1.2W
Citations:
3.7W

Organization

M
Microsoft
Scholars:
3.0K
Papers: 2.7K
Citations: 7
N
North Carolina State University
Scholars:
2.6W
Papers: 2.3W
Citations: 3.7W