lua-users home
lua-l archive

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


On 9/14/12, Martijn van Buul <martijn.van.buul@ellips.nl> wrote:
> On 9/14/2012 9:59 AM, Egor Skriptunoff wrote:
>> On 9/14/12, Coda Highland <chighland@gmail.com> wrote:
>>> If Lua patterns were to hold, the syntax would be
>>> "for <variable> = <exprlist> do"
>>> rather than
>>> "for <variable> = <expr>, <expr>[, <expr>] do".
>>> /s/ Adam
>> Why Lua uses the latter syntax, but not the former?
> Because. I couldn't tell you. There's probably a reason for it.

Many people disagrees me, but nobody knows the reason.
It is funny.  "Believers vs. Thinkers" dialogue type  :-)