AOP use cases

Peter Hansen peter at engcorp.com
Mon Apr 19 08:07:57 EDT 2004


Michael Hudson wrote:
> Peter Hansen <peter at engcorp.com> writes:
>>Peter Hansen wrote:
>>
>>>I would be very interested to hear some real-world and real useful
>>>use cases for AOP as well.  So far, the logging example seems to
>>>be put forth so often that I'm starting to suspect that's the
>>>*only* "useful" thing people are doing with it. :-)
>>> From direct personal experience, could some AOP folks please
>>>point out some compelling use cases so that the doubting
>>>Thomases (and Wills, and Peters) can better understand and
>>>accept the idea of AOP as being more than just a few fringe
>>>cases?
>>
>>Thanks for the replies so far, but what concerns me is that
>>almost no one seems to have actually used AOP in their code.
> 
> What do you understand "AOP" to mean?  One meaning of "AOP" seems to
> be a collection of techniques and tools to make programming in the
> Java environment a pleasanter experience.  This meaning hardly applies
> to programming in Python...

I have no predefined meaning.  I'm not about to run out and
spend a lot of time researching something for which I have
no reason (yet) to believe there is a practical use which would
solve any problems I have.  I'm hoping that someone here can
point out such uses and help define the meaning for Python folks
such as me.

Yours is at least the second comment suggesting that AOP is a
somewhat Java-specific, or at least shows more obvious use in the
Java world (of heavy static typing) than in the Python world.

-Peter



More information about the Python-list mailing list