Re: AOP

2001-10-24 Thread Leon Brocard
Aaron Sherman sent the following bits through the ether: > It is not. That's exactly the point to AOP, to bring the two May I suggest that all discussion move to the perl-aspects list and that everyone take a look at the Aspect module on CPAN. The language does not need to be changed to enable A

Re: AOP

2001-10-24 Thread Aaron Sherman
On Wed, Oct 24, 2001 at 11:50:05AM -0700, David Whipp wrote: > > If Perl is going to have data hiding (I think I read that this was a > > goal), then you cannot declare these relationships outside of the > > class that defines the method. That would be like putting a "friend" > > delcaration only

Re: AOP

2001-10-24 Thread Piers Cawley
You have seen Aspect.pm haven't you? Aspect Oriented Programming for Perl 5, built on top of Hook::LexWrap and very, very cool. -- Piers "It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite." -- Jane Austen?

RE: AOP

2001-10-24 Thread David Whipp
> If Perl is going to have data hiding (I think I read that this was a > goal), then you cannot declare these relationships outside of the > class that defines the method. That would be like putting a "friend" > delcaration only on the foriegn class in C++. It simply should not > work that way. I

Re: AOP

2001-10-24 Thread Aaron Sherman
On Wed, Oct 24, 2001 at 10:42:09AM -0700, David Whipp wrote: > Aaron Sherman wrote: > > All of this is still coming into focus for me, and I want to spend > > more time reading the articles later, but for now I just wanted > > to see if anyone else has been thinking these thoughts > > I do li

RE: AOP

2001-10-24 Thread David Whipp
Aaron Sherman wrote: > All of this is still coming into focus for me, and I want to spend > more time reading the articles later, but for now I just wanted > to see if anyone else has been thinking these thoughts I do like the idea of AOP; but I think the mechanism you suggest are too clumsy.