[Xotcl] Around methods

Gustaf Neumann neumann at wu-wien.ac.at
Wed Apr 30 10:44:59 CEST 2008


The auxiliary methods of CLOS (:around, :before, :after) are  rather
low-level primitives working on  functions compared to XOTcl's
mixin classes and filters, operating on classes (method collections).
Can you give a convincing example, where CLOS style auxiliary
methods are an advantage?

-gustaf neumann

Ben Thomasson schrieb:
> Hi,
>
> I was wondering if you had considered implementing before, after, and 
> around auxiliary methods similar to their implementation in CLOS?   I 
> understand that similar things can be done with mixins and filters, 
> but there are a few things that are more easily done with auxiliary 
> methods.
>
> Thanks,
>
> Ben
>
> Auxiliary methods:
> http://emacspeak.sourceforge.net/raman/publications/web-aster/root-thesisli13.html 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xotcl mailing list
> Xotcl at alice.wu-wien.ac.at
> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
>   



More information about the Xotcl mailing list