A case of Visitor versus Interpreter pattern

M. Hills, P. Klint, T. Storm, van der, J.J. Vinju

    Onderzoeksoutput: Hoofdstuk in Boek/Rapport/CongresprocedureConferentiebijdrageAcademicpeer review

    13 Citaten (Scopus)
    2 Downloads (Pure)

    Samenvatting

    We compare the Visitor pattern with the Interpreter pattern, investigating a single case in point for the Java language. We have produced and compared two versions of an interpreter for a programming language. The first version makes use of the Visitor pattern. The second version was obtained by using an automated refactoring to transform uses of the Visitor pattern to uses of the Interpreter pattern. We compare these two nearly equivalent versions on their maintenance characteristics and execution efficiency. Using a tailored experimental research method we can highlight differences and the causes thereof. The contributions of this paper are that it isolates the choice between Visitor and Interpreter in a realistic software project and makes the difference experimentally observable.
    Originele taal-2Engels
    TitelProceedings of the 49th International Conference on Objects, Models, Components, Patterns, TOOLS 2011, June 28-30, 2011. Zurich, Switzerland
    RedacteurenJ. Bishop, A. Vallecillo
    Plaats van productieBerlin
    UitgeverijSpringer
    Pagina's228-243
    ISBN van geprinte versie978-3-642-21951-1
    DOI's
    StatusGepubliceerd - 2011
    Evenementconference; 49th International Conference on Objects, Models, Components, Patterns; 2011-06-28; 2011-06-30 -
    Duur: 28 jun 201130 jun 2011

    Publicatie series

    NaamLecture Notes in Computer Science
    Volume6705
    ISSN van geprinte versie0302-9743

    Congres

    Congresconference; 49th International Conference on Objects, Models, Components, Patterns; 2011-06-28; 2011-06-30
    Periode28/06/1130/06/11
    Ander49th International Conference on Objects, Models, Components, Patterns

    Vingerafdruk Duik in de onderzoeksthema's van 'A case of Visitor versus Interpreter pattern'. Samen vormen ze een unieke vingerafdruk.

    Citeer dit