Coding in the open and telling stories
- David Thompson shares his favorite commit from his time on GOV.UK. The post has introduced me to the idea of coding in the open. Here is why he likes it:
- explains the reason for the change
- searchable
- tells a story
- makes everyone a little smarter
- adds an extra bit of human context
- Joel Chippindale talks about telling stories through your commits. He tells that VCS is kept forever, always up to date and searchable.
git log --grep='Commit contents'
search all the contents of all your commit messagesgit log -S 'Diff contents'
search all the contents of all the code changesgit blame
where each line of code was last changed
So, how do we make sure that this documentation tells a useful story?