|
|
|
|
|
by mannykannot
2539 days ago
|
|
One of the biggest difficulties in understanding a code base is in identifying the implicit contracts and constraints that exist between the various parts. Each time a feature is added, a fix is made, or some aspect is refactored, some information about the set of things involved in the implementation of that aspect is revealed. If your commits are usually each about one thing only, and their comments simply allow you to identify all the commits needed for a given change, you have already gone a long way towards making that information useful - it's the single-responsibility principle applied in a different area. |
|