[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Clarification needed: naming conventions
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 10 Apr 2011 11:14:27 -0300
> 1.Are the reserved names all those with an underscore followed by _ALL_
> uppercase letters?
Yes.
> 2. Is the underscore itself to be considered an uppercase letter? I.e.
> is __VERSION (two underscores at the beginning) to be considered reserved?
Yes.
> 3. Does > this mean that I'm free to use mytable._VERSION without
> violating the convention?
Yes.
Having said that, this convention is just that, a convention. Just something
to be aware of. It's no sin to redefine __VERSION say or even _G. On the
other hand, in 5.2, if you redefine _ENV then it does have consequences at
compile time.