Write a Blog >>
GPCE 2016
Mon 31 October - Tue 1 November 2016 Amsterdam, Netherlands
co-located with SPLASH 2016
Mon 31 Oct 2016 11:00 - 11:30 at Zürich 1 - Generative Programming I Chair(s): Shigeru Chiba

This paper presents an OO style without classes, which we call interface-based object-oriented programming (IB). This style is a natural extension of closely related ideas such as traits. To support state, IB uses abstract state operations. This new way to deal with state allows flexibility not available in class-based languages. In IB state can be type-refined in subtypes. The combination of a purely IB style and type-refinement enables powerful idioms using multiple inheritance and state. To introduce IB to programmers we created Classless Java: an embedding of IB directly into Java. Classless Java uses annotation processing for code generation and relies on new features of Java 8 for interfaces. The code generation techniques used in Classless Java have interesting properties, including guarantees that the generated code is type-safe and good integration with IDEs. Usefulness of IB and Classless Java is shown with examples and case studies.

Mon 31 Oct

gpce-2016-papers
10:30 - 12:10: GPCE - Generative Programming I at Zürich 1
Chair(s): Shigeru Chiba
gpce-2016-papers147790620000010:30 - 11:00
Talk
Pre-print Media Attached File Attached
gpce-2016-papers147790800000011:00 - 11:30
Talk
gpce-2016-papers147790980000011:30 - 12:00
Talk