develooper Front page | perl.perl6.language | Postings from February 2001

Re: Really auto autoloaded modules

Thread Previous | Thread Next
From:
John Porter
Date:
February 2, 2001 12:35
Subject:
Re: Really auto autoloaded modules
Message ID:
20010202153504.A26103@min.net
Jarkko Hietaniemi wrote:
> A gut feeling that I have is we can't simply go by interface 'names',
> be they just simple names of funtions/methods or their full 'signatures'
> 
> What I think is needed is some sort of opaque tag: the name of the
> 'contract' the API claims to fulfill.  The name can be the name of
> the standard, the name of the company, the name of the individual.


I rather like the idea that contract names are themselves namespace
names.  A contract version's name is thus defined within that
contract's namespace.

E.g.
	"specifies Foo::Bar" -- I specify a contract.

	"implements Foo::Bar::quux" -- I implement the Foo::Bar
		contract, specifically the quux version thereof.

In any case, version idents should be legal perl identifiers;
they can't really be numbers, since they are not inherently
ordered.  I could number *mine* jdp1, jdp1_1, etc., if I want...

-- 
John Porter

You can't keep Perl6 Perl5.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About