Re: Uncommon OOP in Lua: right or wrong?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Uncommon OOP in Lua: right or wrong?
- From: Petite Abeille <petite.abeille@...>
- Date: 2010年9月24日 20:17:45 +0200
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