Java generics adoption
Chris Parnin, Christian Bird, Emerson R. Murphy-Hill · Working Conference on Mining Software Repositories (MSR) · 2011
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 whether generics actually provide such relief. 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 20 popular open source Java programs, traversing more than 500 million lines of code in the process. We evaluate five hypotheses, each based on assertions made by prior researchers, about how Java developers use generics. For example, our results suggest that generics do not significantly reduce the number of type casts and that generics are usually adopted by a single champion in a project, rather than all committers.
Cited by 52 works. doi:10.1145/1985441.1985446
Authors
References
- Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing
- A discipline for software engineering
- Two case studies of open source software development
- Statistics for Research
- Computer-supported cooperative work: history and focus
- A discipline for software engineering
- C++ Templates: The Complete Guide
- The Emergence of Governance in an Open Source Community
- Socialization in an Open Source Software Community: A Socio-Technical Analysis
- Software quality analysis by code clones in industrial legacy software