This post is more of an awareness raising exercise than a personal request for info.
Key! While I in the process of updating my diff tool, I had a look to see what had been mentioned about them on this site. After all, they are one of the key tools in software development. Now maybe this site is quiet on the subject as everyone knows all about it. But...
Learning! I think they would prove useful to people learning C++. They could set aside copies of their work as they progress, after each attempt at a problem. And then, when they finally "release", compare these against their working version, to get a better handle on what was going on (or not) earlier on.
Awareness? There was only one post I could find and it bemused me as it was recommending WinDiff [1] in 2008! (Another tool, Beyond Compare, was also mentioned. I don't know much about it, but I have seen favourable comments about it in the newsgroups).
DiffMerge!! My tool of choice at the moment is SourceGear DiffMerge [2], a new, minor release of which came out just a month ago. I have been using this tool since not long after version 3.0 was released (in 2007). I like it because it isn't fussy, doing what I need and no more, and because it formats code diffs reasonably cleanly. It also runs on Windows, Mac OS X and Linux, so I can use the same tool on Windows and Ubuntu, and it's free!
SCM [3] Like most other modern diff tools, DiffMerge can be used to diff against a source control system. In addition to this diff capability, DiffMerge can be used as a merge tool. I am currently using it with both SVN and Perforce (I find Perforce's own tools a buit cluttered).
More... The other tool which is popular in the Windows world is WinMerge 2.0 [4], but I find it a bit fussy. This tool has been about from before 2003 (version 1.0 was about even earlier, but I don't know how popular it was back then. Apparently the next version of this tool will be cross-platform, implemented using Qt.
And more... The only others I've used are WinDiff (which I only use for bulk file synchronization these days) and Araxis Merge [5]. Araxis is very good, but you have to pay for it (the standard version costs about 100 quid / 150 bucks / 110 euros. But I prefer DiffMerge as it sticks firmly to the KISS principle. [6]
And yet more! I don't know much about the other diff tools as listed on Wikipedia.org
http://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools
So... Have you got a preferred "visual" diff tool? Or do you still prefer to use the console/terminal diff.exe?
Andy
I have no connection with SourceGear! :-) I tracked DiffMerge down in early 2008 when I started a -- short -- contract for a company who did not provide their developers with a difftool as part of their standard tookset! :-(
[1]
http://support.microsoft.com/kb/159214
[2]
http://www.sourcegear.com/products.html
DiffMerge 3.3.1
DiffMerge is a FREE application to visually compare and merge files for Windows, Mac OS X and Linux. |
[3]
http://en.wikipedia.org/wiki/Software_configuration_management
[4]
http://winmerge.org/
[5]
http://www.araxis.com/merge/
[6]
http://en.wikipedia.org/wiki/KISS_principle