A Modularity Bug in Java 8
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).
- Publication:
-
arXiv e-prints
- Pub Date:
- January 2017
- DOI:
- 10.48550/arXiv.1701.02189
- arXiv:
- arXiv:1701.02189
- Bibcode:
- 2017arXiv170102189K
- Keywords:
-
- Computer Science - Programming Languages;
- Computer Science - Software Engineering
- E-Print:
- Theoretical and Applied Informatics, Volume 28, Issue 3, 2016