------ art_84052_16359508.1150250949757 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Curious about AOP in Ruby, I've downloaded the Cut patch for 1.8.3, installed gperf, and am trying to understand a few things. But - the Cut RCR thread appears to have died. From comments about the RCR, the voting appears to be positive - something like 10 votes for and 2 against. Not being familiar with the RCR process - is Cut going to see the light of day? Has another AOP RCR or library been proposed which has captured mind share bringing a premature end to Cut? Are the majority of Ruby developers seeking to use AOP satisfied with aspectr? On 10/24/05, Trans <transfire / gmail.com> wrote: > > > Christian Neukirchen wrote: > > "Trans" <transfire / gmail.com> writes: > > > > > itsme213 / hotmail.com wrote: > > >> Does this also provide a quite general form of dependency injection, > > >> very different in nature and weight compared to something like > Needle? > > > > > > Had to give this some thought. Mu immediate conjecture is that it must > > > since DI and AOP are closely related. But I'm no DI expert like Jim > > > Weirich. But in giving it some conosideration, I imagine there's not > > > much more to it than: > > > > > > class App > > > > > > def logger > > > nil # no logger available > > > end > > > > > > end > > > > > > cut AppContainer < App > > > > > > def logger > > > Logger.new > > > end > > > > > > end > > > > Which will make you want "multiple-inheritance" for cutpoints. :-) > > I thought about this some but I don't understand what you mean. How ill > it make you want MI? Aren't mixins enough? > > > It's not that trivial, but it certainly can be used to implement DI. > > I realize that it's a trivialized rendition, but could you provided > some pointers on improving? > > Thanks, > T. > > > ------ art_84052_16359508.1150250949757--