> > Larry mumbled something like "implements" and "interface". So to say
> > 
> >     package Net::FTP::Foo implements Net::FTP;
> > 
> > But I don't think, anybody wrote an RFC about the plan.
> 
> I did. Or something like it. And I've got a couple of modules on CPAN
> (that I really must document better) that kind of work already:
> 
>     package ShoppingBasket;
>     
>     use ex::interface qw/add_entry total_price delete_entry .../

Interfaces are tricky.  One must assume a common agreed-upon
vocabulary or ontology.  What does 'add_entry' mean, really and
exactly?  What arguments does it take?  What arguments could it take?
What does it return?  Does it have non-local effects?

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to