lua-users home
lua-l archive

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


Still some would argue for even more verbose naming in public APIs:

lua_size
lua_level
lua_type
lua_index

Not that it's worth a discussion. The Lua authors should be free to use any coding style they wish. I'm just happy that Lua 5 is making progress --- Thanks!

Russ

On Tuesday, December 17, 2002, at 10:38 AM, Joshua Jensen wrote:

Why would you want to decrease the readability of the code,
particularly the public API, by using cryptic identifiers

Because, unfortunately, several compilers use those common
names (such as "size", "level", "index") for different
purposes in their own include files, and those uses generate
warnings (and sometimes errors) when mixed with lua.h.

That makes sense.  I should have thought of that.

Josh