From: Frank T. <ft...@ne...> - 2001-11-04 05:29:57
|
Frank Tobin, at 23:15 -0500 on 2001-11-03, wrote: Metaclasses are how TransWarp implements its AOP system, but I'm still not quite sure I like their model/API. Metaclasses seem more and more like a good way to go. As Python progresses, metaclasses will be more and more possible, because of the unifying of types and classes (I'm not *exactly* sure how it helps, but I did read it someplace, and it vaguely make sense; but enough talking about things I'm not sure of). However, TransWrap implements an 'old-style' type of Metaclass that relies on C extensions. I'm not too keen on writing C extensions for Python (or Perl or anything, for that matter, unless it is for algorithmic efficiency). But there are means to implement Aspects in pure python (as described in the paper I mentioned), so I'm going to investigate those. -- Frank Tobin http://www.neverending.org/~ftobin/ |