lua-users home
lua-l archive

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

It's hard to have an official style guide for Lua.
I believe the best style for Lua should consider the style of the host language.

If you binding Lua to a host written in C++, and the host has got style of `Camel Case`, so it's better that your Lua code use the `Camel Case`, the same with `snake_case`.