A Modularity Bug in Java 8
Programming Languages
2017-05-02 v1 Software Engineering
Abstract
We demonstrate a modularity bug in the interface system of Java 8 on the practical example of a textbook design of a modular interface for vector spaces. Our example originates in our teaching of modular object-oriented design in Java 8 to undergraduate students, simply following standard programming practices and mathematical definitions. The bug shows up as a compilation error and should be fixed with a language extension due to the importance of best practices (design fidelity).
Cite
@article{arxiv.1701.02189,
title = {A Modularity Bug in Java 8},
author = {Simon Kramer},
journal= {arXiv preprint arXiv:1701.02189},
year = {2017}
}