code organization
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: code organization
- From: Philipp Kraus <philipp.kraus@...>
- Date: 2013年8月30日 07:41:47 +0200
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