lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Dec 23, 2012 at 6:32 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * steve donovan:
>
>> If $ became a valid variable, then there would be a rush to be the
>> first library to colonize it (think of JQuery).  Obfuscated Lua
>> programs could become so much easier!
>
> GCC allows $ in identifiers as a C extension (which cannot be switched
> off).  Curiously, the same thing hasn't happened.
>

I think that's because it's a compiler extension, and intended only
for internal use? IIRC it even generates a warning if you use it.

-- 
Sent from my Game Boy.