View Single Post
09-25-12, 09:05 AM   #16
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
To clarify on the meaning of obfuscate as it applies to code. Mainly, it's to change the names of functions and variables in such a way to hide the meaning of them and confuse anyone that tries to read the code. The following is an example of obfuscated code.

Code:
local a,b=10,0;
function c(d,e)
	b=b+e;
	if b>=a then f(); end
end
Note the template to make this was an OnUpdate script running a function on a 10 sec timer. This is what obfuscated code is like, and when you have 1000+ lines of code that look like that, it's very difficult to figure out what the code is supposed to do. Hence the reason for Blizzard's policy.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 09-25-12 at 09:09 AM.
  Reply With Quote