kirancodes.me
To Proof Maintenance & Beyond!

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.

BibTeX
@inproceedings{Uesbeck-al:FSE20,
  author    = {Phillip Merlin Uesbeck and
               Cole S. Peterson and
               Bonita Sharif and
               Andreas Stefik},
  title     = {A randomized controlled trial on the effects of embedded computer language switching},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {410--420},
  publisher = {{ACM}},
  year      = {2020},
}

Related papers