共 50 条
A Randomized Controlled Trial on the Effects of Embedded Computer Language Switching
被引:5
|作者:
Uesbeck, P. Merlin
[1
]
Peterson, Cole S.
[2
]
Sharif, Bonita
[2
]
Stefik, Andreas
[1
]
机构:
[1] Univ Nevada, Las Vegas, NV 89154 USA
[2] Univ Nebraska, Lincoln, NE USA
基金:
美国国家科学基金会;
关键词:
polyglot programming;
programming languages;
computer language switching;
productivity;
database programming;
experience;
randomized controlled trial;
D O I:
10.1145/3368089.3409701
中图分类号:
TP31 [计算机软件];
学科分类号:
081202 ;
0835 ;
摘要:
Polyglot programming, the use of multiple programming languages during the development process, is common practice in modern software development. This study investigates this practice through a randomized controlled trial conducted under the context of database programming. Participants in the study were given coding tasks written in Java and one of three SQL-like embedded languages. One was plain SQL in strings, one was in Java only, and the third was a hybrid embedded language that was closer to the host language. We recorded 109 valid data points. Results showed significant differences in how developers of different experience levels code using polyglot techniques. Notably, less experienced programmers wrote correct programs faster in the hybrid condition (frequent, but less severe, switches), while more experienced developers that already knew both languages performed better in traditional SQL (less frequent, but more complete, switches). The results indicate that the productivity impact of polyglot programming is complex and experience level dependent.
引用
收藏
页码:410 / 420
页数:11
相关论文