Scala Implicits Are Everywhere A Large-Scale Study of the Use of Scala Implicits in the Wild

被引:4
|
作者
Krikava, Filip [1 ]
Miller, Heather [2 ]
Vitek, Jan [1 ,3 ]
机构
[1] Czech Tech Univ, Prague, Czech Republic
[2] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[3] Northeastern Univ, Boston, MA 02115 USA
来源
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL | 2019年 / 3卷 / OOPSLA期
基金
欧洲研究理事会; 美国国家科学基金会;
关键词
Implicit parameters; implicit conversions; corpora analysis; Scala;
D O I
10.1145/3360589
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页数:28
相关论文
共 50 条
  • [31] Use of Peace Circles in Large-Scale Community Conflict: A Case Study
    Hamlin, Jack B.
    Darling, Justine
    CONFLICT RESOLUTION QUARTERLY, 2012, 29 (04) : 403 - 419
  • [32] VSPW: A Large-scale Dataset for Video Scene Parsing in the Wild
    Miao, Jiaxu
    Wei, Yunchao
    Wu, Yu
    Liang, Chen
    Li, Guangrui
    Yang, Yi
    2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 4131 - 4141
  • [33] Understanding Android Obfuscation Techniques: A Large-Scale Investigation in the Wild
    Dong, Shuaike
    Li, Menghao
    Diao, Wenrui
    Liu, Xiangyu
    Liu, Jian
    Li, Zhou
    Xu, Fenghao
    Chen, Kai
    Wang, XiaoFeng
    Zhang, Kehuan
    SECURITY AND PRIVACY IN COMMUNICATION NETWORKS, SECURECOMM 2018, PT I, 2018, 254 : 172 - 192
  • [34] JUniVerse: Large-scale JUnit-Test Analysis in the Wild
    Javed, Omar
    Villazon, Alex
    Binder, Walter
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1768 - 1775
  • [35] A Large-Scale Analysis of IoT Firmware Version Distribution in the Wild
    Ebbers, Frank
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (02) : 816 - 830
  • [36] Large-scale molecular survey for piroplasmids in Iberian wild carnivores
    Millan, Javier
    Checa, Rocio
    Oleaga, Alvaro
    Rodriguez, Alejandro
    Negre, Nieves
    Llaneza, Luis
    Velarde, Roser
    Miro, Guadalupe
    PARASITOLOGY RESEARCH, 2024, 123 (12)
  • [37] TrackingNet: A Large-Scale Dataset and Benchmark for Object Tracking in the Wild
    Mueller, Matthias
    Bibi, Adel
    Giancola, Silvio
    Alsubaihi, Salman
    Ghanem, Bernard
    COMPUTER VISION - ECCV 2018, PT I, 2018, 11205 : 310 - 327
  • [38] Sequencing goes 454 and takes large-scale genomics into the wild
    Ellegren, Hans
    MOLECULAR ECOLOGY, 2008, 17 (07) : 1629 - 1631
  • [39] Going Wild: Large-Scale Classification of Open DNS Resolvers
    Kuehrer, Marc
    Hupperich, Thomas
    Bushart, Jonas
    Rossow, Christian
    Holz, Thorsten
    IMC'15: PROCEEDINGS OF THE 2015 ACM CONFERENCE ON INTERNET MEASUREMENT CONFERENCE, 2015, : 355 - 368
  • [40] LARGE-SCALE USE OF FERROELECTRICITY IN MICROELECTRONICS IS REALITY
    KOSTSOV, EG
    MALINOVSKY, VK
    FERROELECTRICS, 1989, 94 : 457 - 462