Thread: minified LUA
View Single Post
05/27/14, 10:30 AM   #7
hulksmash
 
hulksmash's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 30
Originally Posted by Wobin View Post
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.
  Reply With Quote