lua-users home
lua-l archive

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

On 1/5/2011 7:36 PM, Henning Diedrich wrote:
Forked over from Re: Project lead nominations for standard

On 1/1/11 4:28 PM, KHMan wrote:
On 1/1/2011 11:03 PM, Henning Diedrich wrote:
On 1/1/11 3:10 PM, steve donovan wrote:
On Fri, Dec 31, 2010 at 11:58 PM, Henning Diedrich wrote:
So I plead with you, Roberto, for the soul of Lua, as Chris
called out, fix
# !
But it ain't broken, so why fix it? It works precisely as
It's a problem when people pretend that a raw Lua table is the
particular data structure they have in mind

Lua gets pretty close to pretend one structure, the table, is all
you ever need, but then without a warning backs out of it with #,
isn't it?

An implementation. Easiest way to answer critics.

Ok, I implemented a 'tru count' operator (%) in the core to
demonstrate what I mean. It returns actual amount of elements in a
table, or an approximation of characters in a utf-8 char. That may
be a stupid idea to mix in, please disregard for now.

Since this was at least partly caused by my words in the above, I state here that I applaud your initiative. Please take that as a gesture of good intention. Having said that, I'll now exclude myself from the discussion -- I'll just read the posts... :-) Have fun.

Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia