Subversion and coding style

I just realized that Subversion (and I think CVS) implicitly encourages developers to use short line lengths rather than longer ones. If you change one character on a long line in Subversion, it says the entire line is changed and sends the entire line back to the server in the diff. The server, since it stores files as diffs as well, stores the entire line. So since the entire line is changed, the shorter your lines are, the more efficient Subversion can be about sending and storing it.

No comments: