Treffer: Pure trait-based programming on the Java platform

Title:
Pure trait-based programming on the Java platform
Contributors:
Martin Plümicke, Walter Binder, Lorenzo Bettini, Ferruccio Damiani
Publisher Information:
ACM - Association for Computing Machinery
USA
New York
Publication Year:
2013
Collection:
Università degli studi di Torino: AperTo (Archivio Istituzionale ad Accesso Aperto)
Subject Terms:
Document Type:
Konferenz conference object
Language:
English
Relation:
info:eu-repo/semantics/altIdentifier/isbn/9781450321112; ispartofbook:Proceedings of the 2013 International Conference on Principles and Practices of Programming on the Java Platform Virtual Machines, Languages, and Tools - PPPJ '13; International Conference on Principles and Practices of Programming on the Java Platform Virtual Machines, Languages, and Tools - PPPJ '13; firstpage:67; lastpage:78; numberofpages:12; alleditors:Martin Plümicke, Walter Binder; http://hdl.handle.net/2318/140331; info:eu-repo/semantics/altIdentifier/scopus/2-s2.0-84886442945; http://dl.acm.org/citation.cfm?doid=2500828.2500835
DOI:
10.1145/2500828.2500835
Accession Number:
edsbas.AA07F02
Database:
BASE

Weitere Informationen

Traits provide a mechanism for fine-grained code reuse to overcome the limitations of class-based inheritance. A trait is a set of methods which is completely independent from any class hierarchy and can be flexibly used to build other traits or classes by means of a suite of composition operations. We present: (i) a formulation of traits which aims to achieve complete compatibility and interoperability with the Java platform without reducing the flexibility of traits, and (ii) an integration with Eclipse which aims to support an incremental adoption of traits in existing Java projects. Indeed, the proposed trait language can coexist with Java code. Single parts of a project can be refactored to use traits, without requiring a complete rewrite of the whole existing code-base.