lua-users home
lua-l archive

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


On Fri, Dec 28, 2012 at 11:01 AM, Vadim Peretokin <vperetokin@gmail.com> wrote:
> I like Lua's style, no underscores.

Cool, so I'll consistently use that.

Note: this set of functions is not the 'final cut', since the
philosophy here is a compact set of well-defined functions that can be
composed to do many useful things.  I'm tending to optimizing-for-code
size at the moment as well.

So any function which is truly esoteric and of marginal use must go.

That's why there's 'spill-over' modules:
 - ml_properties  - classic property support (getter/setter or just setter)
 - ml_range  - Dirk's Vector class
 - ml_module - Lua 5.2 module construction that allow for flexible
explicit import (or just _G) without the visibility downside of
package.seeall.

steve d.