Proxies: Design Principles for Robust Object-oriented Intercession APIs

Tom Van Cutsem, Mark Miller, Will Clinger (Editor)

Research output: Contribution to journalArticlepeer-review

Abstract

Proxies are a powerful approach to implement meta-objects in object-oriented languages without having to resort to metacircular interpretation. We introduce such a meta-level API based on proxies for Javascript. We simultaneously introduce a set of design principles that characterize such APIs in general, and compare similar APIs of other languages in terms of these principles. We highlight how principled proxy-based APIs improve code robustness by avoiding interference between base and meta-level code that occur in more common reflective intercession mechanisms.
Original languageEnglish
Pages (from-to)59-72
Number of pages14
JournalACM SIGPLAN Notices
Volume42
Publication statusPublished - Dec 2010

Bibliographical note

Will Clinger

Keywords

  • Proxies
  • Javascript
  • Reflection
  • Intercession

Fingerprint

Dive into the research topics of 'Proxies: Design Principles for Robust Object-oriented Intercession APIs'. Together they form a unique fingerprint.

Cite this