Wouldn't it be nice if your VCS/SCM understood the code that was checked in, so that it could show diffs that were correctly contained?
For example, I modify a method and delete the method right after it. It shouldn't show that as a single change, but as two (one change for the modify, one for the delete). Or if I move a method in the source file but leave it otherwise unchanged (or even change it!): it shows as a 'move' (and potentially, then, a change as well!).
Some of this could be done without understanding the code much, eg, looking for identical blocks of text between the new and old files, which constitute 'moves'.
And it wouldn't have to happen when sending changes to the server, just when comparing the two versions for human consumption.
"The true criterion of the practical, therefore, is not whether the latter can keep intact the wrong or foolish; rather is it whether the scheme has vitality enough to leave the stagnant waters of the old, and build, as well as sustain, new life." -- Emma Goldman
Subscribe to:
Post Comments (Atom)
The City Born Great - How Long 'Til Black Future Month?
The second story in N. K. Jemisin's anthology How Long 'Til Black Future Month? , "The City Born Great," is an exciting ta...
-
Here are a couple of poems about Pentapedes, based on the form of Cethegrande, a 13th century English poem. The first few lines follow: Cet...
-
Well, the Homespun concert's come and gone. Overall, it went quite well. There were a few mishaps, but the audience was forgiving. We ...
No comments:
Post a Comment