Reason is the only thing that's important
- Reasons are always important
- Git commits (reasons for code changing)
- Business reasons
- Infrastructure reasons
-- from 254: Deploying Changelog.com with Gerhard Lazu by The Changelog
- So many technologies only presented just the how, but not the why
- So that people are hard to see why they choose this solution over another one
- "Why this concept makes sense?"
This is an important lesson I learned from my several years of product making experiences:
The reason behind a change is more important than this change itself.
- Thinking about Why do I make this code change? guides me to write
better commit messages
- What issue led to this change?
- Preferably attached with a GitHub/GitLab issue link or reference
- Why this change can fix this issue?
- Preferably attached with a StackOverflow link or other references
- What's the reason behind this refactoring?
- Preferably attached with a comparison between the code before this refactoring and after
- What issue led to this change?
- Thinking about Why do I make this deployment process change?
forces me to follow Infrastructure as code principle
- So that the infrastructure of a project can be versioned and reasoned about as our code