lua-users home
lua-l archive

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


I could be wrong but I believe he may have meant something different.  Consider this use of space and how it affects readability:
 
t = {}
t.
--[[
Possible
multi-line
comments
--]]
name = 'me'
print(t.name)
 
The assignment name = ‘me’ is not immediately clear it is part of the table t.
At any rate, to me this is indeed annoying, not in that I would do something like this in my own code but that I may have to deal with it in someone else’s code.
 
Sent: Thursday, March 10, 2016 5:25 PM
Subject: Re: [Proposal] .name global indexing (Was: Re: 'with' statement)
 
On Thu, Mar 10, 2016 at 3:45 PM, Ulrich Schmidt <u.sch.zw@gmx.de> wrote:

To use whitespaces between statements is the one and only lua syntax i dont like.

-- Lua doesn't require using those pesky whitespaces between statements ;)
a=42repeat(a..a):gsub('.',print)a=a-1until#''>a