Advice (programming): Difference between revisions

Content deleted Content added
m External links: Interlisp, not InterLisp
Implementations: Advising in Common Lisp implementation, beyond the CLOS functionality
Line 36:
 
Advices are part of the [[Common Lisp Object System]] (CLOS), as <code>:before</code>, <code>:after</code>, and <code>:around</code> methods, which are combined with the primary method under "standard method combination".<ref>[http://www.aiai.ed.ac.uk/~jeff/clos-guide.html A Brief Guide to CLOS]</ref>
 
Common Lisp implementations provide advice functionality (in addition to the standard method combination for CLOS) as extensions. LispWorks<ref>[http://www.lispworks.com/documentation/lw70/LW/html/lw-32.htm LispWorks 7 User Guide and Reference Manual, The Advice Facility]</ref> supports advising functions, macros and CLOS methods.
 
EmacsLisp added advice-related code in version [http://web.mit.edu/dosathena/sandbox/emacs-19.28/src/ChangeLog 19.28], 1994.