[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Proposal] .name global indexing (Was: Re: 'with' statement)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 11 Mar 2016 10:24:02 +0200
2016-03-10 17:55 GMT+02:00 Coda Highland <chighland@gmail.com>:
> At this point you might as well use _.a = 1 and then you no longer
> even need a with statement.
I use local names consisting of one capital letter instead of _.
Idioms like "for _,value in pairs(tbl) do" cultivate a habit that
the underscore is used for return values that one does not
intend to refer to.