publication . Article . 2019

Scala implicits are everywhere: a large-scale study of the use of Scala implicits in the wild

Filip Křikava; Heather Miller; Jan Vitek;
Open Access
  • Published: 10 Oct 2019 Journal: Proceedings of the ACM on Programming Languages, volume 3, pages 1-28 (eissn: 2475-1421, Copyright policy)
  • Publisher: Association for Computing Machinery (ACM)
The Scala programming language offers two distinctive language features implicit parameters and implicit conversions, often referred together as implicits. Announced without fanfare in 2004, implicits have quickly grown to become a widely and pervasively used feature of the language. They provide a way to reduce the boilerplate code in Scala programs. They are also used to implement certain language features without having to modify the compiler. We report on a large-scale study of the use of implicits in the wild. For this, we analyzed 7,280 Scala projects hosted on GitHub, spanning over 8.1M call sites involving implicits and 370.7K implicit declarations acros...
Persistent Identifiers
free text keywords: Implicit parameters, implicit conversions, corpora analysis, Scala, Compiler, computer.software_genre, computer, Computer science, Programming language, Scala, computer.programming_language, Boilerplate code
Related Organizations
Funded by
Evolving Language Ecosystems
  • Funder: European Commission (EC)
  • Project Code: 695412
  • Funding stream: H2020 | ERC | ERC-ADG
Validated by funder
Any information missing or wrong?Report an Issue