Why do you obfuscate your code?

I have obfuscated my JavaScript. It made it smaller, thus reducing download times. In addition, since the code is handed to the client, my company didn't want them to be able to read it.


Yes, to make it harder to reverse engineer.


It's called "Job Security". This is also the reason to use Perl -- no need to do obfuscation as separate task, hence higher productivity, without loss of job security.

Call it "security through obsfuscability" if you will.


To ensure a job for life, of course (kidding).

This is pretty hilarious and educational: How to Write Unmaintanable Code.

Tags:

Obfuscation