lua-users home
lua-l archive

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

On Dec 24, 2009, at 7:14 AM, Wesley Smith wrote:

> The big exception I can think of here is a GUI written in Lua since there's typically a large amount of state and several levels if inheritance.  Otherwise I agree.

Even GUI frameworks and particularly GUIs can frequently get by with a lot less inheritance. For example, Cocoa (which probably goes overly deep in its inheritance hierarchy in places) avoids some pressure to subclass through its delegates mechanism (aka strategy pattern, aka ...).