lua-users home
lua-l archive

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


This page, https://github.com/temiy/luv  .
And you can do: git clone git://github.com/temiy/luv.git
to download the code of it.


On Wed, Jan 12, 2011 at 5:28 PM, Axel Kittenberger <axkibe@gmail.com> wrote:
This is not the webpage I'm looking for?

On Wed, Jan 12, 2011 at 10:27 AM, Tang Daogang <daogangtang@gmail.com> wrote:
> I think the way of OOP in git://github.com/temiy/luv.git is very
> interesting......
>
> On Wed, Jan 12, 2011 at 5:03 PM, steve donovan <steve.j.donovan@gmail.com>
> wrote:
>>
>> On Wed, Jan 12, 2011 at 10:37 AM, joshua simmons <simmons.44@gmail.com>
>> wrote:
>> > The short answer I guess, is no.
>>
>> Yes, it will not get into the 'kernel' - it's up to us to provide
>> policy, Lua provides mechanism.
>>
>> But it is _so_ entertaining writing Lua object models that everyone
>> has done their own...just about all you can assume is that a method
>> can be called obj:method(args).[1]
>>
>> Given the implementation differences (there may not even be a
>> metatable involved) the best kind of general inheritance available is
>> to use an object proxy [2]
>>
>> steve d.
>>
>> [1] and sure, there are schemes which allow obj.method(args), no
>> colon. But you pay a double price; they are not as efficient and they
>> will confuse everybody else.
>> [2] http://snippets.luacode.org/snippets/Object_Proxy_106
>>
>
>