Software Open Access

Scala Implicits are Everywhere (Artifact)

Filip Krikava; Heather Miller; Jan Vitek

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 across 18.7M lines of Scala code.

Files (5.4 MB)
Name Size
OOPSLA19-artifact-master.zip
md5:1cf943d79a936d3f983a9d5bc100098e
5.4 MB Download
85
10
views
downloads
All versions This version
Views 8585
Downloads 1010
Data volume 53.9 MB53.9 MB
Unique views 8282
Unique downloads 99

Share

Cite as