Liberating Composition from Language Dictatorship

Lodewijk Bergmans, Christoph Bockisch, Mehmet Aksit

    Research output: Contribution to conferencePaper

    60 Downloads (Pure)

    Abstract

    Historically, programming languages have been—although benevolent—dictators: fixing a lot of semantics into built-in language constructs. Over the years, (some) programming languages have freed the programmers from restrictions to use only built-in libraries, built-in data types, or built-in type checking rules. Even though, arguably, such freedom could lead to anarchy, or people shooting themselves in the foot, the contrary tends to be the case: a language that does not allow for extensibility, is depriving software engineers from the ability to construct proper abstractions and to structure software in the most optimal way. Instead, the software becomes less structured and maintainable than would be possible if the software engineer could express the behavior of the program with the most appropriate abstractions. The new idea proposed by this paper is to move composition from built-in language constructs to programmable, first-class abstractions in the language. As an emerging result, we present the Co-op concept of a language, which shows that it is possible with a relatively simple model to express a wide range of compositions as first-class concepts.
    Original languageUndefined
    Pages2
    Number of pages5
    Publication statusPublished - Jun 2011
    EventWorkshop on Reflection, AOP and Meta-Data for Software Evolution, RAM-SE 2011 - Zurich, Switzerland
    Duration: 27 Jun 201127 Jun 2011

    Workshop

    WorkshopWorkshop on Reflection, AOP and Meta-Data for Software Evolution, RAM-SE 2011
    Period27/06/1127/06/11
    Other27 June 2011

    Keywords

    • Composition
    • IR-79902
    • message reqriting
    • composition operator

    Cite this