A randomized controlled trial on the effects of embedded computer language switching
Phillip Merlin Uesbeck, Cole S. Peterson, Bonita Sharif, Andreas Stefik
Abstract
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.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get a8f39781-da6b-42de-937f-94ab91503de2Related papers
- Here we go again: why is it difficult for developers to learn another programming language?Nischal Shrestha, Colton Botta, Titus Barik, Chris ParninICSE 2020 · 41 citations
- Demystifying Issues, Challenges, and Solutions for Multilingual Software DevelopmentHaoran Yang, Weile Lian, Shaowei Wang, Haipeng CaiICSE 2023 · 11 citations
- POSIT: simultaneously tagging natural and programming languagesProfir-Petru Pârtachi, Santanu Kumar Dash, Christoph Treude, Earl T. BarrICSE 2020 · 8 citations
- Contextuality of Code Representation LearningYi Li, Shaohua Wang, Tien N. NguyenASE 2023 · 2 citations
- SQL Puzzles: Evaluating Micro Parsons Problems With Different Feedbacks as Practice for NovicesZihan Wu, Barbara J. EricsonCHI 2024 · 5 citations
