[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN]lstore 0.1.0, a Lua JSON document store
- From: Petite Abeille <petite.abeille@...>
- Date: Thu, 2 Feb 2012 16:31:19 +0100
On Feb 2, 2012, at 4:12 PM, Pierre-Yves Gérardy wrote:
> I may have
> written a few things differently, but it is mostly a matter of taste.
Talking of which, i.e. matter of taste, what's the rational for exporting your private methods?
E.g.:
function lstore:_load()
Why expose _load() to the outside world?
Wouldn't a local function suffice?
E.g.
local function _load( self )
Just curious.