Aspect Programming Module
Alexandre Fayolle
alf at calvin.fayauffre.org
Thu Apr 15 04:25:27 EDT 2004
Le 15-04-2004, Max M <maxm at mxm.dk> a écrit :
> Hung Jung Lu wrote:
>
>> Python does not even have codeblocks. So how can you say AOP is not
>> needed for Python programmers?
>
> I am probably rather dense, but I have not seen aspect oriented examples
> that could not have been done with simple mixins.
Hi Max,
I'm probably rather dense too :-)
How do you implement the logging aspect with a simple mixin?
(the logging aspect prints a statement before and after each method call
of a class instance)
--
Alexandre Fayolle LOGILAB, Paris (France)
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
More information about the Python-list
mailing list