A Case for Custom, Composable Composition Operators

W.K. Havinga, Christoph Bockisch, Lodewijk Bergmans

    Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

    1 Citation (Scopus)
    32 Downloads (Pure)

    Abstract

    Programming languages typically support a fixed set of com- position operators, with fixed semantics. This may impose limits on software designers, in case a desired operator or semantics are not supported by a language, resulting in suboptimal quality characteristics of the designed software system. We demonstrate this using the well-known State design pattern, and propose the use of a composition infrastructure that allows the designer to define custom, composable composition operators. We demonstrate how this approach improves several quality factors of the State design pattern, such as reusability and modularity, while taking a reason- able amount of effort to define the necessary pattern-related code.
    Original languageUndefined
    Title of host publicationProceedings of the 1st International Workshop on Composition: Objects, Aspects, Components, Services and Product Lines
    PublisherCEUR
    Pages45-50
    Number of pages6
    Publication statusPublished - Mar 2010
    EventFirst International Workshop on Composition: Objects, Aspects, Components, Services and Product Lines - Rennes, France
    Duration: 15 Mar 201015 Mar 2010

    Publication series

    NameWorkshop Proceedings
    PublisherCEUR-WS
    Volume564
    ISSN (Print)1613-0073

    Workshop

    WorkshopFirst International Workshop on Composition: Objects, Aspects, Components, Services and Product Lines
    Period15/03/1015/03/10
    Other15 March 2010

    Keywords

    • IR-70685
    • EWI-17746
    • METIS-270775

    Cite this