Advice (programming)

In such cases, advice acts almost like a COMEFROM, a joke facility added to INTERCAL to spoof the spaghettification attendant to the extensive use of GOTOs.

Upstream developers and maintainers of Lisp packages and modules never use advice, since there is no advantage to be gained by advising functions when their original source definitions can be freely rewritten to include the desired features.

Advice is only useful in that it enables downstream users to subsequently modify default behaviour in a way that does not require propagation of such modifications into the core implementation's source definition.

[2] Common Lisp implementations provide advice functionality (in addition to the standard method combination for CLOS) as extensions.

Here is a quote from Chapter 3 of his thesis: "Advising" found its way into BBN Lisp and later into Xerox PARC's Interlisp.