3 ms·
All the time. If I'm reading code and think "why on earth is this here?" the first thing I do is hit the git blame page on GitHub. If a project has a clean com
by simonw 7y ago
All the time. If I'm reading code and think "why on earth is this here?" the first thing I do is hit the git blame page on GitHub.
If a project has a clean commit history, this instantly gives me extra context and hopefully even links me to an issue thread explaining what was being solved.
In older code bases this is invaluable - I often find myself looking at history from five years ago or more.
It's also great for my own projects. Even if I wrote the code six months ago there's still a strong chance I won't fully remember the context for the change.