[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Non-uniqueness of module names
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 21 Apr 2019 17:20:46 -0300
> The letter of the law is now "avoid creating names that start with an
> underscore followed by one or more uppercase letters".
Note that the manual says to avoid *creating* such names, not using
them. For instance, everybody can use (and many people do) _ENV for
their onw variables in their programs, to do what it was created for.
If the Lua team "creates" the name _VERSION for module identification,
everybody could use it for that purpose. (I fully agree with Hisham that
it is not a good idea to use that name unless we have that first step.)
-- Roberto
- References:
- Re: Non-uniqueness of module names, Abhijit Nandy
- Re: Non-uniqueness of module names, Sean Conner
- Re: Non-uniqueness of module names, Dirk Laurie
- Re: Non-uniqueness of module names, Gerhard Sittig
- Re: Non-uniqueness of module names, Luiz Henrique de Figueiredo
- Re: Non-uniqueness of module names, Dirk Laurie
- Re: Non-uniqueness of module names, Roberto Ierusalimschy
- Re: Non-uniqueness of module names, Hisham
- Re: Non-uniqueness of module names, Peter Aronoff
- Re: Non-uniqueness of module names, Dirk Laurie