<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.42">
<TITLE>RE: Aspect oriented Everything?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I hear what your saying but have to admit it's not sinking in very well. Can you provide a simple concrete example contrasting an OOP approach to an AOP with code snipets?</FONT></P>

<P><FONT SIZE=2>--Mike Pyle </FONT>
</P>

<P><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: hungjunglu@yahoo.com [<A HREF="mailto:hungjunglu@yahoo.com">mailto:hungjunglu@yahoo.com</A>] </FONT>
<BR><FONT SIZE=2>> Sent: Tuesday, August 26, 2003 7:58 PM</FONT>
<BR><FONT SIZE=2>> To: python-list@python.org</FONT>
<BR><FONT SIZE=2>> Subject: Re: Aspect oriented Everything?</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Some people don't like AOP because it violates encapsulation </FONT>
<BR><FONT SIZE=2>> in the vertical dimension. But this way of thinking is kind </FONT>
<BR><FONT SIZE=2>> of, erh, unidimensional. Because conversely, a program that </FONT>
<BR><FONT SIZE=2>> is built from purely AOP is encapsulated in its own aspect </FONT>
<BR><FONT SIZE=2>> dimension, and the usage of OOP in that case would violate </FONT>
<BR><FONT SIZE=2>> the encapsulation in the horizontal dimension. The fact is, </FONT>
<BR><FONT SIZE=2>> both factorizations are needed in the real world. </FONT>
<BR><FONT SIZE=2>> Aspect-oriented coding and object-oriented coding are like </FONT>
<BR><FONT SIZE=2>> the conjugate variables in quantum mechanics, whether you use </FONT>
<BR><FONT SIZE=2>> one picture or the other, at the end of the day they are </FONT>
<BR><FONT SIZE=2>> equivalent, but in some circumstances it's better to use one </FONT>
<BR><FONT SIZE=2>> than the other. (If you know Fourier transform, you know what </FONT>
<BR><FONT SIZE=2>> I mean. A localized wave packet in time necessarily means a </FONT>
<BR><FONT SIZE=2>> spread-out packet in frequency, and vice-versa. You can't </FONT>
<BR><FONT SIZE=2>> have encapsulation both ways.)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> regards,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Hung Jung</FONT>
<BR><FONT SIZE=2>> -- </FONT>
<BR><FONT SIZE=2>> <A HREF="http://mail.python.org/mailman/listinfo/python-list" TARGET="_blank">http://mail.python.org/mailman/listinfo/python-list</A></FONT>
<BR><FONT SIZE=2>> </FONT>
</P>

</BODY>
</HTML>