Married,moved,and getting it together.

Best Web Code Comment Ever

This applies to HTML, JavaScript, and CSS equally well. Concerned about someone being able to see your code? Get over it.

Minification v Obfuscation » Yahoo! User Interface Blog
Then finally, there is that question of code privacy. This is a lost cause. There is no transformation that will keep a determined hacker from understanding your program. This turns out to be true for all programs in all languages, it is just more obviously true with JavaScript because it is delivered in source form. The privacy benefit provided by obfuscation is an illusion. If you don’t want people to see your programs, unplug your server.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.