Journal article icon

Journal article

The VISITOR Pattern as a Reusable, Generic, Type-Safe Component

Abstract:

The Visitor design pattern shows how to separate the structure of an object hierarchy from the behaviour of traversals over that hierarchy. The pattern is very flexible; this very flexibility makes it difficult to capture the pattern as anything more formal than prose, pictures and prototypes. We show how to capture the essence of the Visitor pattern as a reusable software library, by using advanced type system features appearing in modern object-oriented languages such as Scala. We preserve ...

Expand abstract
Publication status:
Published

Actions


Access Document


Publisher copy:
10.1145/1449955.1449799

Authors


More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Computer Science
Role:
Author
Journal:
ACM SIGPLAN NOTICES
Volume:
43
Issue:
10
Pages:
439-456
Publication date:
2008-09-01
DOI:
ISSN:
0362-1340
Language:
English
Keywords:
Pubs id:
pubs:163511
UUID:
uuid:89735ff8-203c-452f-929a-695e61b09864
Local pid:
pubs:163511
Source identifiers:
163511
Deposit date:
2012-12-19

Terms of use


Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP