Re: Need standard kernel supported class in Lua, was: Macros and expressivity
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Need standard kernel supported class in Lua, was: Macros and expressivity
- From: "Javier Guerra" <javier@...>
- Date: 2008年1月14日 16:29:33 -0500
my two cents:
- most 'quick & dirty' programs doesn't need OOP
- the obj:mth() syntactic sugar trivially handles encapsulation and polymorphism
- most OOP simple (and not so simple!) designs doesn't need inheritance.
- if you need a full inheritance class system, there are several to
pick from. some of them really sophisticated.
- no matter how a class system is implemented, if it uses the
obj:mth() sugar for method calls, it can interoperate with other
systems.
so.... why the fuss?
--
Javier