期刊
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL
卷 3, 期 -, 页码 -出版社
ASSOC COMPUTING MACHINERY
DOI: 10.1145/3360589
关键词
Implicit parameters; implicit conversions; corpora analysis; Scala
资金
- Office of Naval Research (ONR) [503353]
- European Research Council under the European Union's Horizon 2020 research and innovation program [695412]
- NSF [1544542, 1617892]
- Czech Ministry of Education, Youth and Sports [CZ.02.1.010.00.015_0030000421]
- Division of Computing and Communication Foundations
- Direct For Computer & Info Scie & Enginr [1617892] Funding Source: National Science Foundation
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.
作者
我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。
推荐
暂无数据