[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aspect Oriented Programming in context of lightweight languages.
Matthew Estes <matt@maintree.com> writes:
> For instance, how does AOP relate to Lisp? Does Lisp already do it?
> How?
One aspect of AOP is "advice", where you say "any time someone calls
`foo', wrap the call with `bar'", and similar things. Emacs Lisp
supports this type of advice, so Emacs could be a convenient place to
play with it.
Here's the manual reference for advising functions in Elisp:
http://www.gnu.org/manual/elisp/html_chapter/elisp_17.html
Cheers,
Luke