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 条
  • [21] SemTrack: A Large-Scale Dataset for Semantic Tracking in the Wild
    Wang, Pengfei
    Hui, Xiaofei
    Wu, Jing
    Yang, Zile
    Ong, Kian Eng
    Zhao, Xinge
    Lu, Beijia
    Huang, Dezhao
    Ling, Evan
    Chen, Weiling
    Ma, Keng Teck
    Hur, Minhoe
    Liu, Jun
    COMPUTER VISION - ECCV 2024, PT XXIV, 2025, 15082 : 486 - 504
  • [22] Spurious Features Everywhere - Large-Scale Detection of Harmful Spurious Features in ImageNet
    Neuhaus, Yannic
    Augustin, Maximilian
    Boreiko, Valentyn
    Hein, Matthias
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, : 20178 - 20189
  • [23] Parallel surface reconstruction for large-scale scenes in the wild
    Cao, Mingwei
    Gao, Hao
    Jia, Wei
    INTERNATIONAL JOURNAL OF CIRCUIT THEORY AND APPLICATIONS, 2021, 49 (05) : 1420 - 1434
  • [24] USE OF RFID AT LARGE-SCALE EVENTS
    Kawakita, Yuusuke
    Nakamura, Osamu
    Uo, Yojiro
    Murai, Jun
    IATSS RESEARCH, 2005, 29 (01) : 31 - 39
  • [25] ADAPTING PORTFOLIOS FOR LARGE-SCALE USE
    SIMMONS, J
    EDUCATIONAL LEADERSHIP, 1990, 47 (06) : 28 - 28
  • [26] A Large-Scale Study of Misophonia
    Rouw, Romke
    Erfanian, Mercede
    JOURNAL OF CLINICAL PSYCHOLOGY, 2018, 74 (03) : 453 - 479
  • [27] A Large-Scale Synthetic Gait Dataset Towards in-the-Wild Simulation and Comparison Study
    Zhang, Pengyi
    Dou, Huanzhang
    Zhang, Wenhu
    Zhao, Yuhan
    Qin, Zequn
    Hu, Dongping
    Fang, Yi
    Li, Xi
    ACM TRANSACTIONS ON MULTIMEDIA COMPUTING COMMUNICATIONS AND APPLICATIONS, 2023, 19 (01)
  • [28] Hand Sanitizers in the Wild: A Large-scale Study of Custom Java']JavaScript Sanitizer Functions
    Klein, David
    Barber, Thomas
    Bensalim, Souphiane
    Stock, Ben
    Johns, Martin
    2022 IEEE 7TH EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY (EUROS&P 2022), 2022, : 236 - 250
  • [29] Tinder Use and Romantic Relationship Formations: A Large-Scale Longitudinal Study
    Erevik, Eilin K.
    Kristensen, Joakim H.
    Torsheim, Torbjorn
    Vedaa, Oystein
    Pallesen, Stale
    FRONTIERS IN PSYCHOLOGY, 2020, 11
  • [30] Development of an online research platform for use in a large-scale multicentre study
    Godden, A. R.
    Micha, A.
    Pitches, C.
    Barry, P. A.
    Krupa, K. D. C.
    Rusby, J. E.
    BJS OPEN, 2021, 5 (01):