> I wasn't intending to argue. I know what you say is true, but it baffles me. I really would like to understand the reasons behind the difference - I do use predominantly GUI applications, but this is one of many examples where I find the GUI massively harder to use.
Well... for all sorts of analysis something graphical is easier to use. At least for regular people like me :)
It's much easier to spot the differences when comparing text for example, if the diff program uses different background colors and foreground colors, tooltips and other various visual hints to help see changes.
Compare this output:
$ svn diff
Index: bar.c
===================================================================
--- bar.c (revision 3)
+++ bar.c (working copy)
@@ -1,7 +1,12 @@
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+#include <stdio.h>
int main(void) {
- printf("Sixty-four slices of American Cheese...\n");
svn diff is good as a part of an API, but not as an user interface, that's for sure :)
Secondly - some changes just are visual. I'm a Vim user and I still don't use the multipliers for moving around text for example. My brain just isn't wired to move 5w, it's wired to go the end of the line for example (which is more of a visual cue).
For example, when merging, a GUI makes things a little bit easier - click a portion of the code, "Use this section". I'm reusing things I know (like pointing :) ), and the interface guides me (and maybe even protects me, since copy/paste or manual editing of the line are error prone).
> I don't really see why anyone cares, TBH :P
Because most people have day jobs? Of course companies and their projects are a big deal :)
Posted Mar 3, 2010 12:55 UTC (Wed) by nix (subscriber, #2304)
[Link]
Sorry, I found that graphical output horrible. The colours don't
signify 'appeared' or 'disappeared' in any particular fashion, lots of the
code is duplicated on both sides, spontaneously inserted vertical space
that doesn't exist in *any* version of the actual code, massive eye
movement is needed to figure out what changed... ew. Give me a unified
diff anyday. (Context diffs have the same problem as the graphical output:
massive eye movement just to figure out if a line was added or not.)
Hg Init: a Mercurial tutorial
Posted Mar 3, 2010 21:45 UTC (Wed) by oblio (guest, #33465)
[Link]
You can change the colors of course, to suit your idea of "right side changed" or "left side changed". Secondly, I don't care much about the "eye movement", since you can use "Next change"/"Previous change" buttons which move everything for me.
At this point, it boils down to: "I'm wired like this" or "I'm used like this". So any debate is moot. It's like religious people versus atheists. Nobody's right, since there is no "right" :)