Hey
On 16 March 2017 at 02:09, Hisham <h@hisham.hm <mailto:h@hisham.hm>>
wrote:
Do I think `table.insert` is too long? Yes I do, I wouldn't mind
having a shorter idiom (many were proposed here over the years, most
of them were fine, but I'm not getting into them because we risk
delving into syntactic bikeshedding again, so let's avoid that).
I've always been curious what the reasoning is for not having all of
the table functions, as methods on table objects.
Do I think it's worth it to add `local tinsert = table.insert` to
every program? No, because I hate having to guess which abbreviation
the module author used to write a shorter `table.insert` in their code
Yes, a thousand times this. I've accepted far too much code into
Hammerspoon from people who know Lua better than I do, with this stuff in.