Original Post
Hi everyone, I'm new to scripting, so I've been doing some pondering lately. SWIG seems to work just fine as a bridge between C++ and Lua, so I'm seriously considering writing the whole business logic in Lua. The way I see it, there are two major advantages of using a script in this context: - you don't have to recompile and rerun project to see result!!! - you don't have to expose the source of the engine to everyone involved in development. But when I imagine implementing the ENTIRE business logic code in Lua, I get a little scared, since - there's no syntax highlighting, so I have to browse through C++ class definitions to remember the name of the method I'm about to call!!! - there's no decent debugging of Lua script - there's no way to dereference a pointer to C++ type, so certain steps are necessary to avoid such situations - manual instantiation of every template implementation is a little tiresome I don't really care for the last two, but the first two points I've mentioned bother me a lot. So I though maybe some of you more experienced developers could share your thoughts on this. There's probably a lot I don't know. Thank you