lua-users home
lua-l archive

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


Hello,

do you know some "practical" tips for organization Lua code?
I use a class structure, so I would like to store each class with the method in a file. Modules are also stored in a file.
Both files can be included with require.

In C++ I use namespaces and each namespace is mapped to a directory in the filesystem. Can I create anything similar with Lua?

Thanks a lot

Phil