[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Clarification needed: naming conventions
- From: Axel Kittenberger <axkibe@...>
- Date: Tue, 12 Apr 2011 11:20:04 +0200
Added my emphasis:
manual> Lua is a case-sensitive language: and is a reserved word, but
manual> And and AND are two different, valid names. As a convention,
manual> names *starting with an underscore followed by uppercase
manual> **LETTERS** (such as _VERSION)* are reserved for internal
manual> global variables used by Lua.
Lorenzo> My doubt was whether the underscore is to be considered uppercase,
It doesn't matter if an underscore is "uppercase" or not. An
underscore is not a letter! Case closed :-)