lua-users home
lua-l archive

Re: Lua 5.2 Length Operator and tables (bug?)

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


Rena <hyperhacker@gmail.com> writes:
> I often felt there'd be a lot less confusion about the table library
> if it were named 'array' instead.
I agree!
[Or, "sequence" or seq" or ...]
Of course, given the flexibility of Lua's module mechanism it's pretty
easy to do this on a local level already ("local array = table"); when
I make local aliases for table functions, I usually do use a term like
"array" ("local array_delete = table.remove").
-miles
-- 
Pray, v. To ask that the laws of the universe be annulled in behalf of a
single petitioner confessedly unworthy.

AltStyle によって変換されたページ (->オリジナル) /