Re: Sanity checking for namespace and other abuses

[email protected] (Aristotle Pagaltzis)
Newsgroups perl.module-authors
Message-ID <[email protected]>
* David Mertens <[email protected]> [2016-10-26 18:12]:
> Does anybody oppose me adding to code to top-level, lower-cased
> packages "int", "num", and "str"? What about top-level packages "Int",
> "UInt", "Str", or "Num"? Do other type systems use these top-level
> packages?

Yes. You would either be reserving them for yourself across all of CPAN,
unless you no_index them, in which case you would merely be making it
probably-impossible to use your module together with another one that
might also want to use these packages. (Which doesn’t have to be a CPAN
module, it can also be some would-be user’s already-existing code base.)

It will be uglier to namespace your stuff more; bite that bullet.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.