auto_inherit, inherit

Andy Armstrong n at rciss.us
Wed Oct 3 21:50:55 BST 2007


On 3 Oct 2007, at 21:47, Eric Wilhelm wrote:
> Maybe, but (as-implemented) it wouldn't work there.  Currently,
> App::Prove is keeping track of which one is on top of the stack.  I
> wouldn't want to apply this scheme to the entire TAP::* family without
> doing something more robust.

OK - we'll leave it for now.

> So, my take is that chained subclassing (at the Harness) is simple
> enough to handle simple cases simply and powerful enough to make
> complicated cases possible without needing a lot of support code or
> documentation.  The caveat is that order cannot matter and validation
> has to be left up to the base class (most subclasses will get that
> right without even trying.)  This is sort of a "enough rope to shoot
> yourself in the foot" method, but if I were scared of rope I wouldn't
> use perl.

Yup, I'll buy that. Thanks Eric.

-- 
Andy Armstrong, Hexten





More information about the tapx-dev mailing list