From: Trans Date: 2005-09-15T19:36:34+09:00 Subject: Re: ruby and aop Hi Alexandru, Well, in my experience the hardest part has been dealing with name clashes between advice and the methods they effect, though I think that is exhaserbated with the approach we've taken (which I suspect you've read). Another difficulty with what I think you have in mind, is actually tapping into those joinpoints. You will likely be needing to modify core --which isn't very condusive to adoption. Really the thing about Ruby is that it already offers a lot of AOP-esque features, albiet they are a bit scatted about. Hooks and callbacks go along way toward serving as joinpoints (though there are a few notably missing). Method aliasing serves as a workable, albiet slightly clumsy due to potential name cashes, means of advice. And ObjectSpace.each_object allows one to tap into every part of the system; certainly not the most efficient, but generally effective since the costs are typically all up front. T.