[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Expanding the standard library functions?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 27 Jan 2016 12:30:48 +0200
2016-01-26 4:10 GMT+02:00 Hisham <firstname.lastname@example.org>:
> I, for one, am really happy to know that the next time I need a
> string-split function I'll be able to just type `luarocks install
What do you type when you need a json function?
> There's _a few people_ in this list that keep insisting that "the Lua
> way" is to "roll your own", but the fact that Penlight stands as the
> 8th most downloaded rock with 2771 downloads *this week* says
I did not mean to disparage Penlight, only to point that the precise
tool one needs in Lua is seldom found exactly as required on the
I'm one of the people who downloaded Penlight. Everybody should,
even if they like rolling their own. It's a model of how to code and
document Lua.There is more to it (by a factor of about 50) than
merely its Pythonic string library. Some of the modules (url and xml,
for example) package expertise that would require some research
to acquire, and thus fall within the scope of what I look for in a rock.