Technique 3: Obfuscation through Excessive Clarity

Also known as "The Emperor's New Clothes" of obfuscation.

In this technique, the code is so clear and well-documented that it's impossible to understand.

Example Code

		// This is a comment, but it's really just code
		// It's just a bunch of random letters and numbers
		var superfluousVariableName = 42 * 13 + 27 + 1 + 1 + 1 + 1;
		var anotherVariable = 1 / 0.5;
		var yetAnotherVariable = Math.floor(anotherVariable * 100) / 100;
		var yetAnotherVariable = Math.sin(yetAnotherVariable * Math.PI) + Math.cos(yetAnotherVariable * Math.PI);
	

As you can see, the code is completely clear and understandable. I mean, it's not like it's trying to be confusing at all.

Continue to Technique 4: Obfuscation through Unnecessary Complexity