返回
Adoption and use of Java generics
DOI:10.1007/s10664-012-9236-6.png)
摘要
En 中文
Support for generic programming was added to the Java language in 2004, representing perhaps the most significant change to one of the most widely used programming languages today. Researchers and language designers anticipated this addition would relieve many long-standing problems plaguing developers, but surprisingly, no one has yet measured how generics have been adopted and used in practice. In this paper, we report on the first empirical investigation into how Java generics have been integrated into open source software by automatically mining the history of 40 popular open source Java programs, traversing more than 650 million lines of code in the process. We evaluate five hypotheses and research questions about how Java developers use generics. For example, our results suggest that generics sometimes reduce the number of type casts and that generics are usually adopted by a single champion in a project, rather than all committers. We also offer insights into why some features may be adopted sooner and others features may be held back.
Keyword:
Generics
Annotations
Java
Languages
Post-mortem analysis
AI总结
对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。
期刊
IF:
3.6
论文数:
2.0K
被引数:
5.3K
机构
引用论文
Central and peripheral glucocorticoid receptors are involved in the plasma cortisol response to an acute stressor in rainbow trout中枢和外周糖皮质激素受体参与虹鳟鱼对急性应激源的血浆皮质醇反应
Phytic acid/tannic acid reinforced hydrogels with ultra-high strength for human motion monitoring and arrays
Soft Matter
IF0

