[Nitro] Aspects

Trans transfire at gmail.com
Wed Aug 29 13:28:48 EDT 2007



On Aug 29, 7:14 am, "George Moschovitis"
<george.moschovi... at gmail.com> wrote:
> Lets go for the later then...

I got it to work either way. So lets decide based on what is the most
desirable behavior.

Consider carefully the difference.

  BEFORE:Y#x
  Y#x
  BEFORE:X#x
  X#x
  AFTER:X#x
  AFTER:Y#x

vs.

  BEFORE:Y#x
  BEFORE:X#x
  Y#x
  X#x
  AFTER:X#x
  AFTER:Y#x

The 1st is analogous to sub-classing, so it's perhaps the most
obvious. However, is what Matz seems to have in mind for his :before
and :after decorators which are modeled after CLOS. See
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/85464.

T.



More information about the Nitro-general mailing list