lua-users home
lua-l archive

Re: Uncommon OOP in Lua: right or wrong?

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


On Sep 24, 2010, at 8:08 PM, Rebel Neurofog wrote:
> So I wonder, is it wrong and undesirable or simply uncommon but pretty fine.
Nothing wrong with it, using closures is a fine, if expensive, way of doing things.
> Please let me know if this technic is already described somewhere else.
Programming in Lua
Part II. Tables and Objects
Chapter 16. Object-Oriented Programming
16.4 - Privacy
http://www.lua.org/pil/16.4.html

AltStyle によって変換されたページ (->オリジナル) /