@gron

Proxies: Design Principles for Robust Object-oriented Intercession APIs

, and . Proceedings of the 6th symposium on Dynamic languages, 12, page 59--72. New York, NY, USA, ACM, (October 2010)
DOI: 10.1145/1899661.1869638

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.

Links and resources

Tags

community

  • @gron
  • @dblp
@gron's tags highlighted