Re:Objective-C's niche: why it survives in a world of altern...
by btilly on Monday October 12, 2009 @05:55PM
(#877752)
Not necessarily a tutorial. However in response to a specific question I would hope for a specific pointer on how you might do that specific thing. The link you gave me the second time was far more helpful for re-evaluating aspect-oriented programming's capabilities in this regard than the manual.
In particular I am now convinced that it can do things that I had not previously realized were possible.
Re:Objective-C's niche: why it survives in a world of altern...
by lucifer on Monday October 12, 2009 @06:54PM
(#877848)
Theoretically, aspect orientation can even reach inside the code that is being modified: join points can include loops and branches, but aspectJ does not provide that functionality.
Anyway, the point that I was making is that virtual method dispatch coupled with virtual machines afford the possibility of models of indirection that are more efficient, more expressive, and formally declarable.
The gist: byte codes are transformed ("weaved") on load. Its irrelevant whether you have the source or not.
http://my.safaribooksonline.com/0596006543/aspectjckbk-CHP-1...