Originally Posted by Wobin
Is there any reason you need to use minified code?
|
Yeah I just wanted to keep my source code to myself really. I dont mind others reading the code and providing tips, helps, hints etc but I dont want people to take the code and bastardize it up making it look like crap and distribute. The only reason I used the minified version was to make it difficult for others to read and yes I have comments everywhere actually. It sounds like without using globals I might be ok. However it might not be worth the trouble.
Im new to LUA and addons so I am sure there is a better way to optimize my code. I didnt minify to optimize space, load, or variable length. Just to protect the source somewhat.