lua-users home
lua-l archive

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



On May 5, 2009, at 9:10 AM, steve donovan wrote:

On Tue, May 5, 2009 at 7:21 AM, Petite Abeille <petite_abeille@mac.com> wrote:
--> Don't use the "module" function.

Amen.

Nonsense :)

...
But, seriously, the point about everybody putting stuff into standard
tables willy-nilly is valid.

Well, Objective-C had the concept of "category" [1] for the longest time, and it hasn't collapse on its own weight yet. If you have access to Mac OS X, take a look at how many methods are stuffed in the root class, NSObject...

But, to paraphrase Stan Lee, with great power comes great responsibility... "How you Use Categories" [2]

[1] http://en.wikipedia.org/wiki/Objective-C#Categories
[2] http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocCategories.html#/ /apple_ref/doc/uid/TP30001163-CH20-TPXREF141