lua-users home
lua-l archive

Re: Need standard kernel supported class in Lua, was: Macros and expressivity

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


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

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