lua-users home
lua-l archive

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

Do you think there may be use cases of Lua where the oddities may be quite useful? How do you think the people who like the oddities as they are would feel if everything was changed to match your personal definition of normal?

I am currently in the process of scripting our optimisation engine and am constantly flitting between C++ and Lua, the different syntax is so helpful in reminding me which language I'm in. Also, when you start defining anonymous functions in tables, you will be very thankful that 'end' and '}' are different symbols.

As for arrays, Lua doesn't have them, it has tables. If you want an array, zero indexed or not, it is a pretty trivial extension to write one, and IIRC the Programming In Lua book even gives an example.


On 18 Jun 2012, at 11:55, Patrick Masotta <> wrote:

Considering myself “new” to LUA includes the already spent 4+ weeks working on it

I would not ever posted anything here with less time on the language…


I still think LUA would be a better language addressing these oddities I’ve mentioned.



--- On Mon, 6/18/12, Dirk Laurie <> wrote:

From: Dirk Laurie <>
Subject: Re: LUA oddities..
To: "Lua mailing list" <>
Date: Monday, June 18, 2012, 3:22 AM

> I’m new to LUA ...
Do about four weeks of work on changing that, and
you'll miraculously find tyourself able to answer these:
> 1) I couldn’t believe ...
> 2) Why you guys do not use ...
> 3) Why there’s not ...