Read the diffs from other developers too

Every morning before you start your own coding tasks, use your favorite diff tool[52] to look at all the changes that everybody else checked in the day before. Many of the best developers I have known make this a habit.

When you read the diffs, two good things might happen:

  1. The code might get better. Reading the diffs is like an informal code review. You might find something that needs to be fixed.

  2. You might learn something. Maybe one of your coworkers is using a technique you don’t know about. Or maybe reading the diffs simply gives you a deeper understanding of the project you are working on.



[52] http://www.sourcegear.com/diffmerge/—Your favorite diff tool is SourceGear DiffMerge, right? :-)