Originally Posted by Joviex
I feel a few people are not understanding what I am asking for here.
Tell me the difference between the following two lines of code:
function getSomething()
function getSomething()
At fist glance, NADA. When I run this through HG to commit, it is going to tell me that line 2 is different, hence a "change" from line #1. Why?
Because it has white space (20 extra spaces) at the end of the line.
It has nothing to do with obfuscation. I am definitely not advocating using a minify, like for javascript, to pack all the code into a single line =)
|
You misunderstand me. Run it through a program that strips out unnecessary white space, blank lines and comments then run the output of that program through diff. Programmer automate thyself. By the time a programmer could get through checking for extraneous white space on 100 lines a program could process millions of lines. You have a computer, use it.