lua-users home
lua-l archive

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

> Am 20.08.2016 um 07:41 schrieb Dirk Laurie <>:
> 2016-08-20 5:34 GMT+02:00 Andrew Starks <>:
>> On Fri, Aug 19, 2016 at 8:02 PM, Ross Berteig <> wrote:
>>> On 8/19/2016 10:13 AM, Viacheslav Usov wrote:
> [...]
>> Lua has tables. It does not have sequences/arrays.
> ...
>> First, in every other computer programming language an array would not
>> contain any non-index keys at all. This concept is already unfamiliar
>> to them, but we allow it in Lua, because it is too convent not to. So
>> array-like tables are already extended beyond most people's
>> experience.
> ...
>> The above concession to convenience creates a behavior that silently
>> "does what you hope" at the expense of consistently following the
>> rules. This is very un-Lua like.
> The theorem that the base angles of an isosceles triangle are equal
> is known as the "Pons Asinorum" (bridge of asses). Current use of the

Asinus in latin means donkey in english.  So it’s a bridge of donkeys, or
„Eselsbrücke“ in german.