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

被引:0
|
作者
Shrestha, Nischal [1 ]
Botta, Colton [1 ]
Barik, Titus [2 ]
Parnin, Chris [1 ]
机构
[1] NC State Univ, Raleigh, NC 27695 USA
[2] Microsoft, Redmond, WA USA
基金
美国国家科学基金会;
关键词
D O I
10.1145/3511062
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:91 / 91
页数:1
相关论文
共 50 条