From: Sean O'Dell Date: 2004-06-29T00:14:59+09:00 Subject: Re: Is it considered Harmful? On Monday 28 June 2004 01:36, vruz wrote: > > This particular example you propose with files can be done with > Aspect Oriented Programming. > For that specific need there's this: http://aspectr.sourceforge.net/ > by Avi Bryant and Robert Feldt. > It's still alpha, and has been so for about two years, so I'm not > sure if you want to use it in the real world. > Anyway it's a nice thing to toy with. You can actually do it similarly by simply replacing methods you want to handle and removing the ones you don't. The only problem I see with that approach is the case when a method somewhere finds a method you didn't anticipate and calls it. I think AOP would be subject to that same issue. Sean O'Dell