Thread: minified LUA
View Single Post
05/27/14, 11:07 AM   #8
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
Originally Posted by hulksmash View Post
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.
While I dont have anything against you only using minified code -
if you do have even a single randomized global in there I (and probably many others)
am/are going to curse you ... because it 's like playing russian roulette with other addons.
You never know whom or what you hit. till you hit it. So please dont ever do that.

Cheers

Last edited by thelegendaryof : 05/27/14 at 11:14 AM.
  Reply With Quote