Navigation auf zora.uzh.ch

Search ZORA

ZORA (Zurich Open Repository and Archive)

The indolent lambdification of Java: Understanding the support for lambda expressions in the Java ecosystem

Petrulio, Fernando; Sawant, Anand Ashok; Bacchelli, Alberto (2021). The indolent lambdification of Java: Understanding the support for lambda expressions in the Java ecosystem. Empirical Software Engineering, 26(6):134:1-134:36.

Abstract

As Java 8 introduced functional interfaces and lambda expressions to the Java programming language, the JDK API was changed to introduce support for lambda expressions, thus allowing consumers to define lambda functions when using Java’s collections. While the JDK API allows for a functional paradigm, for API consumers to be able to completely embrace Java’s new functional features, third-party APIs must also support lambda expressions. To understand the current state of the Java ecosystem, we investigate (i) the extent to which third-party Java APIs have changed their interfaces, (ii) why or why not they introduce functional interface support and (iii) in the case the API has changed its interface how it does so. We also investigate the consumers’ perspective, particularly their ease in using lambda expressions in Java with APIs. We perform our investigation by manually analyzing the top 50 popular Java APIs, conducting in-person and email interviews with 23 API producers, and surveying 110 developers. We find that only a minority of the top 50 APIs support functional interfaces, the rest does not support them, predominantly in the interest of backward compatibility. Java 7 support is still greatly desirable due to enterprise projects not migrating to newer versions of Java. This suggests that the Java ecosystem is stagnant and that the introduction of new language features will not be enough to save it from the advent of new languages such as Kotlin (JVM based) and Rust (non-JVM based).

Additional indexing

Item Type:Journal Article, refereed, original work
Communities & Collections:03 Faculty of Economics > Department of Informatics
Dewey Decimal Classification:000 Computer science, knowledge & systems
Scopus Subject Areas:Physical Sciences > Software
Scope:Discipline-based scholarship (basic research)
Language:English
Date:1 October 2021
Deposited On:08 Mar 2023 16:21
Last Modified:29 Dec 2024 02:36
Publisher:Springer
ISSN:1382-3256
OA Status:Hybrid
Free access at:Publisher DOI. An embargo period may apply.
Publisher DOI:https://doi.org/10.1007/s10664-021-10039-9
Other Identification Number:merlin-id:23366
Download PDF  'The indolent lambdification of Java: Understanding the support for lambda expressions in the Java ecosystem'.
Preview
  • Content: Published Version
  • Language: English
  • Licence: Creative Commons: Attribution 4.0 International (CC BY 4.0)

Metadata Export

Statistics

Citations

Dimensions.ai Metrics
3 citations in Web of Science®
3 citations in Scopus®
Google Scholar™

Altmetrics

Downloads

13 downloads since deposited on 08 Mar 2023
7 downloads since 12 months
Detailed statistics

Authors, Affiliations, Collaborations

Similar Publications