Does my JavaScript look big in this?

Posted by benhowdle89 on Programmers See other posts from Programmers or by benhowdle89
Published on 2011-01-31T10:03:04Z Indexed on 2011/01/31 15:33 UTC
Read the original article Hit count: 278

As programmers, you have certain curtains to hide behind with your code. With PHP all of your code is server side preprocessed, so this never see's the light of day as far as the user is concerned. If you have maybe rushed through some code for a deadline, as long as it functions correctly then the user never needs to know how many expletives you've inserted into the comments. However with more and more applications being written for the web, with a desktop feel implemented by AJAX and popular frameworks like jQuery being banded around to every Tom, Dick and Harry, how can a programmer maintain some dignity and hide his/her JavaScript code without it being flaunted like dirty laundry when the users hit Right Click->View Source or Inspect Element. Are there any ways to hide JavaScript application logic/code?

© Programmers or respective owner

Related posts about programming-languages

Related posts about JavaScript