Java with Traits — Improving Opportunities for Reuse


The Java language includes features that present significant barriers to reuse; in practice, programmers have no choice but to copy and paste code that is not accessible via inheritance. Traits improve code-sharing in Smalltalk by providing a means to reuse such behavior, and we claim that a similar mechanism for Java would overcome not just the lack of… (More)

2 Figures and Tables


  • Presentations referencing similar topics