lua-users home
lua-l archive

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

Without following the whole thread (there's been too much of it.. ;) I strongly feel module namespaces (s.a. 'socket') should be regarded read-only. Period. This can either be enforced, or left as a non-spoken rule, but I see no valid reason for changing things once they're loaded.

Extending a module (loading in several phases) is one valid situation, though, but even then the added features should be read-only. 0.01e :)

11.6.2004 kello 03:05, Tomas kirjoitti:

1) The socket namespace is shared between scripts.
Problem: Unsafe. If one script changes it, the others will be affected.